Update src/seismic_hazard_forecasting.py
This commit is contained in:
parent
bda00e225c
commit
bd468927f3
@ -517,7 +517,7 @@ verbose: {verbose}")
|
|||||||
map_center = [np.mean([north, south]), np.mean([east, west])]
|
map_center = [np.mean([north, south]), np.mean([east, west])]
|
||||||
|
|
||||||
# Create an image from the grid
|
# Create an image from the grid
|
||||||
cmap_name = 'viridis'
|
cmap_name = 'YlOrRd'
|
||||||
cmap = plt.get_cmap(cmap_name)
|
cmap = plt.get_cmap(cmap_name)
|
||||||
fig, ax = plt.subplots(figsize=(6, 6))
|
fig, ax = plt.subplots(figsize=(6, 6))
|
||||||
ax.imshow(iml_grid_hd, origin='lower', cmap=cmap, vmin=vmin, vmax=vmax)
|
ax.imshow(iml_grid_hd, origin='lower', cmap=cmap, vmin=vmin, vmax=vmax)
|
||||||
|
Loading…
Reference in New Issue
Block a user