Skip to content

Commit 0517187

Browse files
authored
Merge pull request #24084 from oscargus/labelbase36
Revert argument checking for label_mode
2 parents 00b60ad + e940305 commit 0517187

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
if mode == "all":
276275
for ax in self.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+
elif mode == "1":
296295
for ax in self.axes_all:
297296
_tick_only(ax, bottom_on=True, left_on=True)
298297

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy