8000 Improve reprs of transforms. by anntzer · Pull Request #9421 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Improve reprs of transforms. #9421

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Dec 1, 2017
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Whitespace fixes.
  • Loading branch information
anntzer committed Nov 19, 2017
commit fa690018ae5e9d69c9d54877d1e47a9ca3bcc68c
8 changes: 4 additions & 4 deletions lib/matplotlib/projections/polar.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ def __init__(self, axis=None, use_rmin=True,
def __str__(self):
return ("{}(\n"
"{},\n"
" use_rmin={},\n"
" _apply_theta_transforms={})"
" use_rmin={},\n"
" _apply_theta_transforms={})"
.format(type(self).__name__,
mtransforms._indent_str(self._axis),
self._use_rmin,
Expand Down Expand Up @@ -150,8 +150,8 @@ def __init__(self, axis=None, use_rmin=True,
def __str__(self):
return ("{}(\n"
"{},\n"
" use_rmin={},\n"
" _apply_theta_transforms={})"
" use_rmin={},\n"
" _apply_theta_transforms={})"
.format(type(self).__name__,
mtransforms._indent_str(self._axis),
self._use_rmin,
Expand Down
2 changes: 1 addition & 1 deletion lib/matplotlib/transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def __setstate__(self, data_dict):

def __copy__(self, *args):
raise NotImplementedError(
"TransformNode instances can not be copied. " +
"TransformNode instances can not be copied. "
"Consider using frozen() instead.")
__deepcopy__ = __copy__

Expand Down
0