Skip to content

Navigation Menu

Sign in
Appearance settings

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 filesBrowse files
committed
Add get_tick_space to _DummyAxis
1 parent 6137ecc commit 97e0d9f
Copy full SHA for 97e0d9f

File tree

Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed

‎lib/matplotlib/ticker.py

Copy file name to clipboardExpand all lines: lib/matplotlib/ticker.py
+4Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.