MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / set_data_interval

Method set_data_interval

lib/matplotlib/axis.py:1191–1203  ·  view source on GitHub ↗

Set the axis data limits. This method is for internal use. If *ignore* is False (the default), this method will never reduce the preexisting data limits, only expand them if *vmin* or *vmax* are not within them. Moreover, the order of *vmin* and *vmax* does not ma

(self, vmin, vmax, ignore=False)

Source from the content-addressed store, hash-verified

1189 raise NotImplementedError('Derived must override')
1190
1191 def set_data_interval(self, vmin, vmax, ignore=False):
1192 """
1193 Set the axis data limits. This method is for internal use.
1194
1195 If *ignore* is False (the default), this method will never reduce the
1196 preexisting data limits, only expand them if *vmin* or *vmax* are not
1197 within them. Moreover, the order of *vmin* and *vmax* does not matter;
1198 the orientation of the axis will not change.
1199
1200 If *ignore* is True, the data limits will be set exactly to ``(vmin,
1201 vmax)`` in that order.
1202 """
1203 raise NotImplementedError('Derived must override')
1204
1205 def get_inverted(self):
1206 """

Callers 3

__init__Method · 0.95
AxisClass · 0.95
legend_elementsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected