8000 Add get_tick_space to _DummyAxis · matplotlib/matplotlib@97e0d9f · GitHub
[go: up one dir, main page]

Skip to content

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 97e0d9f

Browse files
committed
Add get_tick_space to _DummyAxis
1 parent 6137ecc commit 97e0d9f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/matplotlib/ticker.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,10 @@ def get_data_interval(self):
202202
def set_data_interval(self, vmin, vmax):
203203
self.dataLim.intervalx = vmin, vmax
204204

205+
def get_tick_space(self):
206+
# Just use the long-standing default of nbins==9
207+
return 9
208+
205209

206210
class TickHelper(object):
207211
axis = None

0 commit comments

Comments
 (0)
0