Eric,
Just a minor concern about "locator_params" implicitly calling "autoscale_view".
For example,
ax1 = subplot(121)
ax1.plot([1,2,3])
ax1.locator_params("x", nbins=5)
ax1.margins(0.1, tight=True)
ax2 = subplot(122)
ax2.plot([1,2,3])
ax2.margins(0.1, tight=True)
ax2.locator_params("x", nbins=5)
Same commands are applied to each subplot but with different order,
and the results are different.
"ax.2locator_params("x", bnins=5)" implicitly calls
"ax2.autoscale_view(tight=False)", overriding tight=True in margins
call.
And I think this is a bit confusing.
I understand that autoscale_view depends on locator. Still at least
some option to prevent calling "autoscale_view" may be needed?
Regards,
-JJ
------------------------------------------------------------------------------
_______________________________________________
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel