Skip to content

Commit 4149f8d

Browse files
committed
DOC: add layout=compressed to colorbar placement doc
1 parent 92b2297 commit 4149f8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

galleries/users_explain/axes/colorbar_placement.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@
182182
fig, ax = plt.subplots(layout='constrained', figsize=(4, 4))
183183
pcm = ax.imshow(np.random.randn(10, 10), cmap='viridis')
184184
cax = ax.inset_axes([1.04, 0.0, 0.05, 1.0])
185-
ax.set_title('colorbar with inset_axes', fontsize='medium')
185+
ax.set_title('Colorbar with inset_axes', fontsize='medium')
186186
fig.colorbar(pcm, cax=cax)
187187

188188
# %%

0 commit comments

Comments
 (0)