Skip to content

Commit 40f7120

Browse files
committed
Use categorical color_model for scatter3d colormap
1 parent 37578e1 commit 40f7120

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/gallery/plot/scatter3d.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
# Make our 3D scatter plot, coloring each of the 3 species differently
3333
fig = pygmt.Figure()
34-
pygmt.makecpt(cmap="cubhelix", series=(0, 3, 1))
34+
pygmt.makecpt(cmap="cubhelix", color_model="+c", series=(0, 3, 1))
3535
fig.plot3d(
3636
x=df.petal_width,
3737
y=df.sepal_length,

0 commit comments

Comments
 (0)