Skip to content

Commit

Permalink
MNT: Linting.
Browse files Browse the repository at this point in the history
  • Loading branch information
zssherman committed Sep 7, 2023
1 parent 56867b8 commit fc46c70
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions examples/plotting/plot_choose_a_colormap.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,5 +163,4 @@ def plot_color_gradients(cmap_category, cmap_list):
display = pyart.graph.RadarDisplay(radar)

# Now let's plot with a CVD-friendly colormap (HomeyerRainbow)
display.plot(
"reflectivity_horizontal", vmin=-32, vmax=64.0, cmap="HomeyerRainbow")
display.plot("reflectivity_horizontal", vmin=-32, vmax=64.0, cmap="HomeyerRainbow")
3 changes: 1 addition & 2 deletions examples/plotting/plot_ppi_mdv.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
display = pyart.graph.RadarDisplay(radar)
fig = plt.figure(figsize=[5, 5])
ax = fig.add_subplot(111)
display.plot(
"reflectivity", 0, vmin=-16.0, vmax=64, title="PPI", cmap="HomeyerRainbow")
display.plot("reflectivity", 0, vmin=-16.0, vmax=64, title="PPI", cmap="HomeyerRainbow")
display.set_limits(ylim=[-150, 150], xlim=[-150, 150])
plt.show()
2 changes: 1 addition & 1 deletion pyart/graph/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"""

# Import colormaps from cmweather
import cmweather # noqa: F401
import cmweather # noqa: F401

from .convstrat_scheme_plot import plot_convstrat_scheme # noqa
from .gridmapdisplay import GridMapDisplay # noqa
Expand Down

0 comments on commit fc46c70

Please sign in to comment.