Skip to content

Commit f8fb0c1

Browse files
Update examples/gallery/3d_plots/3d_bar.py
Co-authored-by: Dongdong Tian <[email protected]>
1 parent eaa9d5c commit f8fb0c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/gallery/3d_plots/3d_bar.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
# color-coding of the bars, here the elevation ("z")
2323
grd2tab = pygmt.grd2xyz(grid=grid, region=region)
2424
grd2tab["color"] = grd2tab["z"]
25-
z_min = grd2tab["z"].min() - 50
26-
z_max = grd2tab["z"].max() + 50
25+
zmin = grd2tab["z"].min() - 50
26+
zmax = grd2tab["z"].max() + 50
2727

2828
# Create a 3-D bar plot with color-coding
2929
fig = pygmt.Figure()

0 commit comments

Comments
 (0)