MCPcopy Index your code
hub / github.com/PyQt5/PyQt / changeRange

Method changeRange

QtDataVisualization/BarsVisualization.py:197–201  ·  view source on GitHub ↗
(self, range)

Source from the content-addressed store, hash-verified

195 self.months)
196
197 def changeRange(self, range):
198 if range >= len(self.years):
199 self.m_yearAxis.setRange(0, len(self.years) - 1)
200 else:
201 self.m_yearAxis.setRange(range, range)
202
203 def changeStyle(self, style):
204 comboBox = self.sender()

Callers

nothing calls this directly

Calls 1

setRangeMethod · 0.45

Tested by

no test coverage detected