Skip to content
Snippets Groups Projects
Commit 172f42e6 authored by tomrink's avatar tomrink
Browse files

snapshot...

parent 23f3e81d
Branches
No related tags found
No related merge requests found
...@@ -167,7 +167,7 @@ def plot_image(image, cmap='Greys', vmin=None, vmax=None, fname=None, title=None ...@@ -167,7 +167,7 @@ def plot_image(image, cmap='Greys', vmin=None, vmax=None, fname=None, title=None
# Add the colorbar # Add the colorbar
if do_color_bar: if do_color_bar:
cbar = plt.colorbar(ticks=range(3)) cbar = plt.colorbar()
cbar.ax.set_position([0.90, 0.05, 0.03, 0.90]) # [left, bottom, width, height] cbar.ax.set_position([0.90, 0.05, 0.03, 0.90]) # [left, bottom, width, height]
#cbar.ax.set_ylabel(label, rotation=90, fontsize=10) #cbar.ax.set_ylabel(label, rotation=90, fontsize=10)
#cbar.ax.tick_params(labelsize=10) #cbar.ax.tick_params(labelsize=10)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment