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

Method get_inverted

lib/matplotlib/axis.py:1205–1214  ·  view source on GitHub ↗

Return whether this Axis is oriented in the "inverse" direction. The "normal" direction is increasing to the right for the x-axis and to the top for the y-axis; the "inverse" direction is increasing to the left for the x-axis and to the bottom for the y-axis.

(self)

Source from the content-addressed store, hash-verified

1203 raise NotImplementedError('Derived must override')
1204
1205 def get_inverted(self):
1206 """
1207 Return whether this Axis is oriented in the "inverse" direction.
1208
1209 The "normal" direction is increasing to the right for the x-axis and to
1210 the top for the y-axis; the "inverse" direction is increasing to the
1211 left for the x-axis and to the bottom for the y-axis.
1212 """
1213 low, high = self.get_view_interval()
1214 return high < low
1215
1216 def set_inverted(self, inverted):
1217 """

Callers 9

_update_connectorsMethod · 0.80
format_ticksMethod · 0.80
_draw_allMethod · 0.80
_do_extendsMethod · 0.80
_extend_lowerMethod · 0.80
_extend_upperMethod · 0.80
invert_xaxisMethod · 0.80
invert_yaxisMethod · 0.80
errorbarMethod · 0.80

Calls 1

get_view_intervalMethod · 0.95

Tested by

no test coverage detected