Skip to content

Commit 12a0af9

Browse files
Examples: Improve argument passed to the "frame" parameter of colorbar (#2948)
1 parent e0c306f commit 12a0af9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/gallery/images/grdgradient_shading.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,6 @@
5959
panel=True,
6060
)
6161

62-
fig.colorbar(position="JBC+w10c/0.25c+h", frame="a2000f500+lElevation (m)")
62+
fig.colorbar(position="JBC+w10c/0.25c+h", frame="xa2000f500+lElevation (m)")
6363

6464
fig.show()

examples/tutorials/basics/plot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
style="cc",
9191
pen="black",
9292
)
93-
fig.colorbar(frame="af+lDepth (km)")
93+
fig.colorbar(frame="xaf+lDepth (km)")
9494
fig.show()
9595

9696
# sphinx_gallery_thumbnail_number = 3

0 commit comments

Comments
 (0)