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

Commit0517187

Browse files
authored
Merge pull request#24084 from oscargus/labelbase36
Revert argument checking for label_mode
2 parents00b60ad +e940305 commit0517187

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎lib/mpl_toolkits/axes_grid1/axes_grid.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,6 @@ def set_label_mode(self, mode):
271271
- "1": Only the bottom left axes is labelled.
272272
- "all": all axes are labelled.
273273
"""
274-
_api.check_in_list(["all","L","1"],mode=mode)
275274
ifmode=="all":
276275
foraxinself.axes_all:
277276
_tick_only(ax,False,False)
@@ -292,7 +291,7 @@ def set_label_mode(self, mode):
292291
ax=col[-1]
293292
_tick_only(ax,bottom_on=False,left_on=True)
294293

295-
else:# "1"
294+
elifmode=="1":
296295
foraxinself.axes_all:
297296
_tick_only(ax,bottom_on=True,left_on=True)
298297

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp