You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Don't let margins expand polar plots to negative radii by default.
This is implemented by altering the semantics of sticky edges as
documented in the changelog. As it turns out, this change also improves
consistency for streamplot():
- in test_streamplot.py::test_{linewidth,mask_and_nans}, the change
is necessary because the axes limits would now be (-3, 3) (matching
the vector field limits), whereas they were previously
xlim=(-3.0, 2.9999999999999947), ylim=(-3.0000000000000004, 2.9999999999999947)
(they can be inspected with
`plt.gcf().canvas.draw(); print(plt.gca().get_xlim(), plt.gca().get_ylim())`).
- in test_streamplot.py::test_maxlength, note that the previous version
expanded the axes limits *beyond* (-3, 3), whereas the current doesn't
do so anymore. It doesn't actually make much sense if the vector
field limits are applied if the streamplot goes all the way to the
edges, but are ignored otherwise.
0 commit comments