We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7ed6813 + dcf3ef4 commit 3044b97Copy full SHA for 3044b97
1 file changed
src/astrohack/visualization/plot_tools.py
@@ -380,7 +380,7 @@ def simple_imshow_map_plot(
380
y_axis,
381
gridded_2d_arr,
382
title,
383
- cmap,
+ colormap,
384
zlim,
385
x_label="X axis [m]",
386
y_label="Y axis [m]",
@@ -390,6 +390,7 @@ def simple_imshow_map_plot(
390
extent_margin=0,
391
add_colorbar=True,
392
):
393
+ cmap = get_proper_color_map(colormap)
394
if zlim is None:
395
minmax = [np.nanmin(gridded_2d_arr), np.nanmax(gridded_2d_arr)]
396
else:
0 commit comments