Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

document 3D surface API #614

Closed
ggggggggg opened this issue Dec 14, 2016 · 2 comments
Closed

document 3D surface API #614

ggggggggg opened this issue Dec 14, 2016 · 2 comments

Comments

@ggggggggg
Copy link

Searching docs for surface turn up nothing useful. I'm trying to figure out how to set the color of the surface, rather than get the default heatmap behavior.

@JackDevine
Copy link
Member

I agree that the documentation is a little lacking, although to be fair surface is just a convenience function for plot(arr, seriestype = :surface). The default color gradient is inferno, but you can change that through the color key word argument. Try these

surface(randn(10, 10), color = :rainbow)
surface(randn(10, 10), color = :plasma)

Here is a list of color gradients available in matplotlib.

@t-bltg
Copy link
Member

t-bltg commented Nov 27, 2022

Fixed.

@t-bltg t-bltg closed this as completed Nov 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants