Skip to content

Contour plot has no selection tools #71

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

Closed
chaseleslie opened this issue Oct 14, 2020 · 3 comments
Closed

Contour plot has no selection tools #71

chaseleslie opened this issue Oct 14, 2020 · 3 comments

Comments

@chaseleslie
Copy link

Hello,

I adapted the example from #60 using the JSON workaround to render a contour plot. As can be seen in the photo there are no rectangle or lasso select tools. Is there an option to enable selection tools somehow?

using Dash
using DashCoreComponents
using DashHtmlComponents
app = dash(external_stylesheets = ["https://codepen.io/chriddyp/pen/bWLwgP.css"])
app.layout = html_div() do
    html_h1("Hello Dash"),
    html_div("Dash.jl: Julia interface for Dash"),
    dcc_graph(
        id = "example-graph",
        figure = (
            data = [
                (x = [1, 2, 3], y = [1, 2, 3], z = [rand(3) for _ in 1:3], type = "contour", name = "SF"),
            ],
            layout = (title = "Dash Data Visualization",),
        ),
    )
end

run_server(app, "127.0.0.1", 8050, debug = true)

contour

@alexcjohnson
Copy link
Contributor

This would need to be added in plotly.js. This would come along essentially for free with heatmap selection - a longstanding open item that just hasn't bubbled to the top of our list (or been tackled by a community member) yet plotly/plotly.js#170

@chaseleslie
Copy link
Author

Thanks for the response. It looks like the workaround mentioned at plotly/plotly.js#170 (comment) in that issue might work until heatmap selection is possible.

@alexcjohnson
Copy link
Contributor

OK great - I'll close this issue since there's nothing to be done in this repo, but please follow plotly/plotly.js#170 for updates.

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

2 participants