Skip to content

Commit 14ddb12

Browse files
authored
Change colormap and normalization in shading plots in multiplot.py (#59)
1 parent 2173ddc commit 14ddb12

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/solarpy/plotting/multiplot.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
)
1313
from solarpy.quality import bsrn_limits
1414
import matplotlib.dates as mdates
15-
from matplotlib.colors import TwoSlopeNorm
15+
from matplotlib.colors import TwoSlopeNorm, Normalize
1616
import pandas as pd
1717
import pvlib
1818

@@ -628,8 +628,8 @@ def multiplot(times, data, meta, horizon=None, google_api_key=None, figsize=(24,
628628
solar_azimuth=data["solar_azimuth"][mask],
629629
solar_elevation=90 - data["solar_zenith"][mask],
630630
ax=ax,
631-
cmap=two_part_colormap(),
632-
norm=TwoSlopeNorm(vmin=0, vcenter=0.05, vmax=0.7),
631+
cmap="viridis",
632+
norm=Normalize(vmin=0, vmax=0.7),
633633
colorbar_label=clabel,
634634
northern_hemisphere=meta["latitude"] > 0,
635635
)

0 commit comments

Comments
 (0)