Skip to content

Commit b46966b

Browse files
Apply suggestions from code review
Co-authored-by: Wei Ji <23487320+weiji14@users.noreply.github.com>
1 parent 5c6ffbd commit b46966b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

examples/gallery/3d_plots/scatter3d.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@
3636

3737
# Define a colormap to be used for three categories, define the range of the
3838
# new discrete CPT using series=(lowest_value, highest_value, interval),
39-
# use color_model="+csetosa,versicolor,virginica" to write the discrete color palette
39+
# use color_model="+cSetosa,Versicolor,Virginica" to write the discrete color palette
4040
# "cubhelix" in categorical format and add the species names as annotations for the
4141
# colorbar
4242
pygmt.makecpt(
43-
cmap="cubhelix", color_model="+csetosa,versicolor,virginica", series=(0, 2, 1)
43+
cmap="cubhelix", color_model="+cSetosa,Versicolor,Virginica", series=(0, 2, 1)
4444
)
4545

4646
fig.plot3d(
@@ -62,9 +62,9 @@
6262
# Set frame parameters
6363
frame=[
6464
'WsNeZ3+t"Iris flower data set"', # z axis label positioned on 3rd corner, add title
65-
'xafg+l"Petal Width"',
66-
'yafg+l"Sepal Length"',
67-
'zafg+l"Petal Length"',
65+
'xafg+l"Petal Width (cm)"',
66+
'yafg+l"Sepal Length (cm)"',
67+
'zafg+l"Petal Length (cm)"',
6868
],
6969
# Set perspective to azimuth NorthWest (315°), at elevation 25°
7070
perspective=[315, 25],

0 commit comments

Comments
 (0)