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 a19cd43

Browse filesBrowse files
committed
mathtext.py style fixes.
The only non-trivial fix is a replacement of np.round to the builtin round (mostly because it helps squeezing a line withing 79 chars); np.round was introduced in 95fda79 to get consistent Py2/Py3 behavior but Py3 matches np.round anyways (Py2's builtin round rounds halfway away from zero, Py3's builtin round and np.round round to even). Builtin round is faster than np.round for scalars, too (not that it really matters).
1 parent 8a8c881 commit a19cd43
Copy full SHA for a19cd43

File tree

Expand file treeCollapse file tree

2 files changed

+265
-170
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+265
-170
lines changed

‎.flake8

Copy file name to clipboardExpand all lines: .flake8
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ per-file-ignores =
4545
matplotlib/font_manager.py: E203, E221, E251, E261, E262, E302, E501
4646
matplotlib/fontconfig_pattern.py: E201, E203, E221, E222, E225, E302
4747
matplotlib/legend_handler.py: E201, E501
48-
matplotlib/mathtext.py: E201, E202, E203, E211, E221, E222, E225, E231, E251, E261, E301, E302, E303, E402, E501
48+
matplotlib/mathtext.py: E201, E202, E203, E211, E221, E222, E225, E251, E301, E402
4949
matplotlib/patheffects.py: E231
5050
matplotlib/projections/geo.py: E203, E221, E231, E261, E502
5151
matplotlib/pylab.py: E501

0 commit comments

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