8000 Clean up some simple linting exceptions · matplotlib/matplotlib@f4398bf · GitHub
[go: up one dir, main page]

Skip to content

Commit f4398bf

Browse files
committed
Clean up some simple linting exceptions
These examples only needed a single fix to remove the exception.
1 parent 18f93ee commit f4398bf

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

galleries/examples/ticks/date_formatters_locators.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
import matplotlib.pyplot as plt
1313
import numpy as np
1414

15+
# While these appear unused directly, they are used from eval'd strings.
1516
from matplotlib.dates import (FR, MO, MONTHLY, SA, SU, TH, TU, WE,
1617
AutoDateFormatter, AutoDateLocator,
1718
ConciseDateFormatter, DateFormatter, DayLocator,

galleries/tutorials/images.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
3434
In [1]: %matplotlib inline
3535
36-
This turns on inline plotting, where plot graphics will appear in your
37-
notebook. This has important implications for interactivity. For inline plotting, commands in
36+
This turns on inline plotting, where plot graphics will appear in your notebook. This
37+
has important implications for interactivity. For inline plotting, commands in
3838
cells below the cell that outputs a plot will not affect the plot. For example,
3939
changing the colormap is not possible from cells below the cell that creates a plot.
4040
However, for other backends, such as Qt, that open a separate window,

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,6 @@ convention = "numpy"
210210
"galleries/users_explain/axes/legend_guide.py" = ["E402"]
211211
"galleries/users_explain/axes/tight_layout_guide.py" = ["E402"]
212212
"galleries/users_explain/animations/animations.py" = ["E501"]
213-
"galleries/tutorials/images.py" = ["E501"]
214213
"galleries/tutorials/pyplot.py" = ["E402", "E501"]
215214
"galleries/users_explain/text/annotations.py" = ["E402", "E501"]
216215
"galleries/users_explain/text/text_intro.py" = ["E402"]

0 commit comments

Comments
 (0)
0