Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commitfa4f868

Browse files
tickminorvisible-fix
1 parent99d8900 commitfa4f868

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎lib/matplotlib/scale.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ def set_default_locators_and_formatters(self, axis):
6969
axis.set_major_formatter(ScalarFormatter())
7070
axis.set_minor_formatter(NullFormatter())
7171
# update the minor locator for x and y axis based on rcParams
72-
ifrcParams['xtick.minor.visible']:
72+
ifaxis.axis_nameinlist("xy")and \
73+
rcParams['{}tick.minor.visible'.format(axis.axis_name)]:
7374
axis.set_minor_locator(AutoMinorLocator())
7475
else:
7576
axis.set_minor_locator(NullLocator())

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp