Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ repos:
hooks:
- id: isort
name: isort (python)
files: ^tutorials/|^examples/
files: ^tutorials/|^examples/|^plot_types/
3 changes: 2 additions & 1 deletion plot_types/3D/surface3d_simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@
See `~mpl_toolkits.mplot3d.axes3d.Axes3D.plot_surface`.
"""
import matplotlib.pyplot as plt
from matplotlib import cm
import numpy as np

from matplotlib import cm

plt.style.use('_mpl-gallery')

# Make data
Expand Down
3 changes: 2 additions & 1 deletion plot_types/3D/trisurf3d_simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@
See `~mpl_toolkits.mplot3d.axes3d.Axes3D.plot_trisurf`.
"""
import matplotlib.pyplot as plt
from matplotlib import cm
import numpy as np

from matplotlib import cm

plt.style.use('_mpl-gallery')

n_radii = 8
Expand Down
3 changes: 2 additions & 1 deletion plot_types/3D/wire3d_simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@

See `~mpl_toolkits.mplot3d.axes3d.Axes3D.plot_wireframe`.
"""
from mpl_toolkits.mplot3d import axes3d
import matplotlib.pyplot as plt

from mpl_toolkits.mplot3d import axes3d

plt.style.use('_mpl-gallery')

# Make data
Expand Down
1 change: 1 addition & 0 deletions plot_types/basic/bar.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"""
import matplotlib.pyplot as plt
import numpy as np

plt.style.use('_mpl-gallery')

# make data:
Expand Down