question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

autorange='reversed' in scatter3d

See original GitHub issue

Hi,

it seems that the option autorange='reversed' is not working with scatter 3D. Is there another solution to invert the zaxis?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
turqoisehatcommented, Nov 12, 2018

Any idea when this will start working in R?

2reactions
tpeetcommented, Jul 1, 2020

@WenyinWei , did you modify layout.zaxis.autorange or layout.scene.zaxis.autorange? Latter should be used for 3D plots. You could try this:

fig.update_scenes(zaxis_autorange="reversed")

https://stackoverflow.com/questions/58532088/how-to-switch-direction-of-axis-in-3d-scatterplot-plotly/62672879#62672879

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to reverse axis values when using plotly? - Stack Overflow
If you want to reverse one of the axes of 3D plot: fig.update_layout( scene={ 'xaxis': {'autorange': 'reversed'}, # reverse automatically 'yaxis': {'range': ...
Read more >
Reverse scatter3d plot - plotly.js - Plotly Community Forum
use autorange: 'reversed'; reverse the input data. I manage to flip the axes, but then the graph disappears. Here is my config: const...
Read more >
plotly source: inst/docs.R - Rdrr.io
... "z")) library(plotly) plot_ly(df, x = x, y = y, z = z, type = "scatter3d", ... 2)) %>% layout(xaxis = list(autorange =...
Read more >
3D Scatter Plot Mod for TIBCO Spotfire®
... "zaxis": { "gridcolor": "#BBBBBB", "title": "TVD", "autorange":"reversed" } }, "showlegend": ... "textposition": "top center", "type": "scatter3d" } }.
Read more >
Reverse The Axis Of A Subplot Made Using Plotly - ADocLib
For example 'Direction''reverse' reverses the color scale. ... Plot Using axis this new functionality? autorange'reversed' in scatter3d Issue #803 plotly.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found