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

Appearance settings

Commit d7493a5

Browse filesBrowse files
authored
Merge pull request matplotlib#11869 from anntzer/style
Style fixes.
2 parents f2ae08a + d9c9d2b commit d7493a5
Copy full SHA for d7493a5

File tree

Expand file treeCollapse file tree

7 files changed

+323
-263
lines changed
Filter options
Expand file treeCollapse file tree

7 files changed

+323
-263
lines changed

‎.flake8

Copy file name to clipboardExpand all lines: .flake8
+1-5Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,21 +35,17 @@ per-file-ignores =
3535
matplotlib/backends/backend_agg.py: E261, E302, E701
3636
matplotlib/backends/backend_cairo.py: E203, E221, E261, E303, E402, E711
3737
matplotlib/backends/backend_gtk3.py: E203, E221, E222, E225, E251, E261, E501
38-
matplotlib/backends/backend_macosx.py: E231, E261
3938
matplotlib/backends/backend_pgf.py: E303, E731
40-
matplotlib/backends/backend_ps.py: E203, E225, E228, E231, E261, E262, E302, E303, E501, E701
41-
matplotlib/backends/backend_svg.py: E203, E225, E228, E231, E261, E302, E501
4239
matplotlib/backends/qt_editor/formlayout.py: E301, E501
4340
matplotlib/backends/tkagg.py: E231, E302, E701
44-
matplotlib/backends/windowing.py: E301, E302
4541
matplotlib/font_manager.py: E203, E221, E251, E261, E262, E302, E501
4642
matplotlib/fontconfig_pattern.py: E201, E203, E221, E222, E225, E302
4743
matplotlib/legend_handler.py: E201, E501
4844
matplotlib/mathtext.py: E201, E202, E203, E211, E221, E222, E225, E251, E301, E402
4945
matplotlib/patheffects.py: E231
5046
matplotlib/projections/geo.py: E203, E221, E231, E261, E502
5147
matplotlib/pylab.py: E501
52-
matplotlib/pyplot.py: E201, E202, E221, E222, E225, E231, E251, E261, E302, E501, E701
48+
matplotlib/pyplot.py: E302, E701
5349
matplotlib/rcsetup.py: E203, E225, E261, E302, E501
5450
matplotlib/sphinxext/mathmpl.py: E302
5551
matplotlib/sphinxext/only_directives.py: E302

‎lib/matplotlib/backends/backend_macosx.py

Copy file name to clipboardExpand all lines: lib/matplotlib/backends/backend_macosx.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,12 +162,12 @@ def set_cursor(self, cursor):
162162
def save_figure(self, *args):
163163
filename = _macosx.choose_save_file('Save the figure',
164164
self.canvas.get_default_filename())
165-
if filename is None: # Cancel
165+
if filename is None: # Cancel
166166
return
167167
self.canvas.figure.savefig(filename)
168168

169169
def prepare_configure_subplots(self):
170-
toolfig = Figure(figsize=(6,3))
170+
toolfig = Figure(figsize=(6, 3))
171171
canvas = FigureCanvasMac(toolfig)
172172
toolfig.subplots_adjust(top=0.9)
173173
tool = SubplotTool(self.canvas.figure, toolfig)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.