MEP15: Fix axis autoscaling when limits are specified for one axis only
Status
Discussion
Branches and Pull requests
None so far.
Abstract
When one Axis of a 2-dimensional plot is overridden via set_xlim or
set_ylim, automatic scaling of the remaining Axis should be based on
the data that falls within the specified limits of the first Axis.
Detailed description
When axis limits for a 2-D plot are specified for one axis only (via or ), matplotlib currently does not currently rescale the other axis. The result is that the displayed curves or symbols may be compressed into a tiny portion of the available area, so that the final plot conveys much less information than it would with appropriate axis scaling.