Skip to content

Commit

Permalink
Use categorical color_model for scatter3d colormap
Browse files Browse the repository at this point in the history
  • Loading branch information
weiji14 committed Nov 3, 2020
1 parent 37578e1 commit 40f7120
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/gallery/plot/scatter3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

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

0 comments on commit 40f7120

Please sign in to comment.