Skip to content

Commit

Permalink
#1614 explicitly pass a list to colors for the dummy point to address…
Browse files Browse the repository at this point in the history
… the Matplotlib deprecation
  • Loading branch information
bikegeek committed May 13, 2022
1 parent 30c1c09 commit 20df5e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion metplus/wrappers/cyclone_plotter_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,8 @@ def create_plot(self):

# Dummy point to add the additional label explaining the labelling of the first
# point in the storm track
plt.scatter(0, 0, zorder=2, marker=None, c='',
colors = []
plt.scatter(0, 0, zorder=2, marker=None, c=[],
label="Date (dd/hhz) is the first " +
"time storm was able to be tracked in model")

Expand Down

0 comments on commit 20df5e6

Please sign in to comment.