Skip to content

Commit

Permalink
Add labels and improve cbar position for histograms
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Grund <23025878+michaelgrund@users.noreply.github.com>
  • Loading branch information
maxrjones and michaelgrund committed Apr 8, 2022
1 parent a188b37 commit 5bc3b4b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions examples/tutorials/advanced/grid_equalization.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
histtype=1,
pen="1p,black",
)
fig.colorbar(position="JMR+o1c/0c+w3c/0.3c", frame=True)
fig.colorbar(position="JMR+o1.5c/0c+w3c/0.3c", frame=True)
fig.show()

###############################################################################
Expand Down Expand Up @@ -109,12 +109,12 @@
projection="X?",
region=[0, divisions, 0, 40],
series=[0, divisions, 1],
frame="wnSE",
frame=["wnSE", "xaf+lElevation (m)", "yaf+lCounts"],
cmap=True,
histtype=1,
pen="1p,black",
)
fig.colorbar(position="JMR+o1c/0c+w3c/0.3c", frame=True)
fig.colorbar(position="JMR+o1.5c/0c+w3c/0.3c", frame=True)
fig.show()

###############################################################################
Expand Down Expand Up @@ -154,12 +154,12 @@
projection="X?",
region=[-4.5, 4.5, 0, 20],
series=[-4.5, 4.5, 0.2],
frame="wnSE",
frame=["wnSE", "xaf+lElevation (m)", "yaf+lCounts"],
cmap=True,
histtype=1,
pen="1p,black",
)
fig.colorbar(position="JMR+o1c/0c+w3c/0.3c", frame=True)
fig.colorbar(position="JMR+o1.5c/0c+w3c/0.3c", frame=True)
fig.show()

###############################################################################
Expand Down Expand Up @@ -212,10 +212,10 @@
projection="X?",
region=[0, divisions, 0, 40],
series=[0, divisions, 1],
frame="wnSE",
frame=["wnSE", "xaf+lElevation (m)", "yaf+lCounts"],
cmap=True,
histtype=1,
pen="1p,black",
)
fig.colorbar(position="JMR+o1c/0c+w3c/0.3c", frame=True)
fig.colorbar(position="JMR+o1.5c/0c+w3c/0.3c", frame=True)
fig.show()

0 comments on commit 5bc3b4b

Please sign in to comment.