Skip to content

Commit 94d75af

Browse files
committed
update workflow
1 parent b0cf30b commit 94d75af

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

docs/examples/plot_types/08_ternary.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,13 @@
2222

2323
fig, ax = uplt.subplots(projection = "ternary")
2424
vmin = 0.0
25-
vmax = 1.2
25+
vmax = 1.0
2626
levels = np.linspace(vmin, vmax, 7)
2727

2828
cs = ax.tripcolor(t, l, r, v, cmap = "lapaz_r", shading='flat', vmin=vmin, vmax=vmax)
2929
ax.set_title("Ternary Plot of Shannon Entropies")
3030
ax.plot(*get_spiral(), color='white', lw=1.25)
31-
colorbar = ax.colorbar(cs)
32-
colorbar.set_label('Entropy', rotation=270, va='baseline')
31+
colorbar = ax.colorbar(cs, loc = "b", align = 'c', title = "Entropy", length = 0.33,)
3332

3433
fig.show()
3534
uplt.show(block = 1)

0 commit comments

Comments
 (0)