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

Turn off grid lines when using plotly engine #427

Closed
alexanderbates opened this issue Feb 9, 2020 · 2 comments
Closed

Turn off grid lines when using plotly engine #427

alexanderbates opened this issue Feb 9, 2020 · 2 comments
Assignees

Comments

@alexanderbates
Copy link
Collaborator

alexanderbates commented Feb 9, 2020

Have an easy to use option to turn off gridlines when using the plotly engine @SridharJagannathan . Should maybe be the default. Useful esp. when plotting figures.

@alexanderbates
Copy link
Collaborator Author

alexanderbates commented Feb 9, 2020

This almost works, but somehow I loose transparency:

plot3d(JRC2018F, col = "black", alpha = 0.1, plotengine="plotly")%>%
    plotly::layout(
           scene = list(xaxis = list(title = '', autorange = TRUE, showgrid = FALSE, zeroline = FALSE, showline = FALSE, autotick = TRUE, ticks = '', showticklabels = FALSE),
                        yaxis = list(title = '', autorange = TRUE, showgrid = FALSE, zeroline = FALSE, showline = FALSE, autotick = TRUE, ticks = '', showticklabels = FALSE),
                        zaxis = list(title = '', autorange = TRUE, showgrid = FALSE, zeroline = FALSE, showline = FALSE, autotick = TRUE, ticks = '', showticklabels = FALSE)
           )
    )

@jefferis
Copy link
Collaborator

Closed by #432

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants