# region_plot with "or" expressions

I'm trying to do a region_plot of a bunch of things that involve an "or" and getting behavior I don't understand.

Here's an example (not so relevant to mine) of the kind of thing I'm encountering:

region_plot([x < y or x < -y], (x,-1,1), (y, -1,1))

If you run this, clearly the output is messed up. It also changes when you switch the order of the two conditions, so it seems to pay attention to just one of them.

I tried carious things like making a function of (x,y) that returns the relevant boolean that works correctly when you just feed it numbers, but exhibits the same odd behavior when you put it in region_plot.

Any idea what's going on here?

Thanks.

By the way, the problem here was that using the `or` meant you were asking Sage/Python to evaluate `x<y` and `x<-y` - try `sage: x<y or="" x<-y`="" and="" see="" what="" you="" get="" :)="" since="" sage="" can't="" guarantee="" that="" the="" first="" one="" is="" true="" or="" false="" (`bool(x<y)`="" is="" `false`,="" as="" is="" `bool(x<-y)`),="" the="" outcome="" of="" `or`="" will="" automatically="" be="" the="" second="" thing.<="" p="">

Sorry, I couldn't get the less than signs to work out right in the comment...