Skip to content

Commit

Permalink
reverted inclusion of colorbar
Browse files Browse the repository at this point in the history
  • Loading branch information
Joost Delsman committed Feb 9, 2023
1 parent 03053b9 commit 107c942
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions imod/visualize/cross_sections.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,9 +265,9 @@ def cross_section(
ax1.cmap.set_under("#FFFFFF")

# Add colorbar
# divider = make_axes_locatable(ax)
# cbar_ax = divider.append_axes("right", size="5%", pad="5%")
# fig.colorbar(ax1, cax=cbar_ax, **settings_cbar)
divider = make_axes_locatable(ax)
cbar_ax = divider.append_axes("right", size="5%", pad="5%")
fig.colorbar(ax1, cax=cbar_ax, **settings_cbar)

if not return_cmap_norm:
return fig, ax
Expand Down

0 comments on commit 107c942

Please sign in to comment.