Hey. I wonder why they make such a complex software so beginners must spend so much time trying to figure out some basic functionality such as 3D surface.
I tried matplotlib to create a 3D surface based on 3 pandas dataframe columns - let’s say x, y and z. It took me about 10 minutes to find documentation, take an example from documentation and adapt it for my needs. The only drawback is that i can’t rotate it live, otherwise i would stop there already.
So i decided to try plotly. Their website is almost a joke. “New to plotly?” taking half of the page on every single page, which is annoying. Plust tons of links stacked on top of each other also on every page. It clutters the page. I’m not mentioning that after spending an hour i couldn’t find a well written documentation for 3D Surface plots.
Ended up looking on google. Not a single well written tutorial. The only website i found barely mentions that i need to pass data like this:
x = [1,2,3]
y = [1,2,3,4]
z = [ [ 1, 1, 1, 1 ], [ 4, 4, 4, 4 ], [ 4, 4, 9, 9 ] ]
and then goes
surface = go.Surface(x=x,y=y,z=z)
data = [surface]
etc.
My simple question is - is there a way to use surface plot like this:
x = [1,2,3]
y = [1,2,3]
z = [1,2,3]
like in matplotlib. Otherwise it is a horrible experience to figure out how to use that complexity such as i demonstrated above.
P.S. hope they will hire some nice content manager or something to make solid documentation and clear explanations because currently it is a mess.
Thank you!