Skip to content

Commit 5e390ab

Browse files
authored
Add norm/colorbar to shading plots in multiplot (#58)
* Add norm/colorbar to shading plots in multiplot * Apply suggestion from @AdamRJensen
1 parent 6ed8d4e commit 5e390ab

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/solarpy/plotting/multiplot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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=solarpy.plotting.two_part_colormap()
632-
norm=TwoSlopeNorm(vmin=0, vcenter=0.05, vmax=0.7)
631+
cmap=two_part_colormap(),
632+
norm=TwoSlopeNorm(vmin=0, vcenter=0.05, vmax=0.7),
633633
colorbar_label=clabel,
634634
northern_hemisphere=meta["latitude"] > 0,
635635
)

0 commit comments

Comments
 (0)