Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Added __repr__ implementation on all locators and formators#25767
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
7321b87
0605320
fc305e4
afbf1ec
b6781c7
d3aef45
e6cc3b1
a0754b7
0845b90
8db91fc
03006f7
e51f4e8
95ab01f
5de2d24
26de7ab
68252ae
23d9ba9
06a7da4
6298a59
ff128da
6d3c802
3b96310
1b520ae
16d693d
32b3266
5e614b1
471b852
8bb64ac
98d59e9
3e874f7
bbef256
075e9c7
94daa84
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -287,6 +287,9 @@ class ThetaLocator(mticker.Locator): | ||||||
locations of every 45 degrees are returned. | ||||||
""" | ||||||
def __repr__(self): | ||||||
return f"{self.__class__.__name__}(base={self.base.__repr__()})" | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. These Suggested change
| ||||||
def __init__(self, base): | ||||||
self.base = base | ||||||
self.axis = self.base.axis = _AxisWrapper(self.base.axis) | ||||||
@@ -455,6 +458,11 @@ class RadialLocator(mticker.Locator): | ||||||
scale of the *r*-axis). | ||||||
""" | ||||||
def __repr__(self): | ||||||
return f"{self.__class__.__name__}(" + \ | ||||||
f"base={self.base.__repr__()}, " + \ | ||||||
f"axes={self._axes.__repr__()})" | ||||||
def __init__(self, base, axes=None): | ||||||
self.base = base | ||||||
self._axes = axes | ||||||
Uh oh!
There was an error while loading.Please reload this page.