Math, Python & Julia
Math, Python & Julia
@RoyiAvital Yes, when you save a plot, set always width, height from layout or not, and scale=1. plotly.py saves a fig as an image of size (width, height) set in...
I think this example should be removed because the implementation is particular and can't be used for another image stack. This code was the first attempt to animate slices, later...
I don't think lighting has ever worked with orthographic projection of a mesh3d or surface. Orthographic projection is less used by plotly users. I tested it with the latest plotly...
The Plotly heatmap is intended to represent a discrete version of a scalar field, z= f(x, y), with x, y in a rectangle [a b] x [c, d]. All users...
Taking into account that @elena-pascal considers that some users can have difficulties in undestanding why to get a heatmap as an image referenced to a left handed coordinate system we...
If you did not set `scene.camera.eye` in your code, then its default position is `camera_eye=dict(x=1.25, y=1.25, z=1.25)`. To rotate it at another position you should define a function that rotates...
I understood that you wanted to save the plot as an image, via `plotly.io write_image(fig, "filename ext")`. My suggested solution is for such a purpose. Plotly.py sends to plotly.js a...
@nshyam97 Here is a short tutorial on how relayout works: [https://chart-studio.plotly.com/~empet/15608](https://chart-studio.plotly.com/~empet/15608).