I am so glad that new piecewise is in, so not complaining - but asking as some notes now do not plot properly. Example:
P = piecewise([((0,2),x),((2,6),2)])
print P
plot(P)
You can see that it is not only not plotting beyond x=1, it is complaining about negative values. That says to me that we are now calling the generic plot method, which (when not fed endpoints) by default plots on (x,-1,1).
However, previously plotting piecewise functions by default plotted the entire thing (since they didn't go out to infinity). I understand the consistency, but also suspect this might have just been overlooked. Any thoughts?
Thanks!
- kcrisman