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.

hoverCompareCartesian doesn't get removed from plot

See original GitHub issue

Hello! Thanks again for dash, it’s been a dream for us to work with. My colleague @jamestwebber asked about customizing the toolbar a few days ago and while that has overall been successful, we haven’t been able to remove the hoverCompareCartesian option. Here is our config_dict, which gets passed to each plot with config=config_dict.copy():

config_dict = {'modeBarButtonsToRemove': ['sendDataToCloud',
                                          'pan2d',
                                          'zoomIn2d',
                                          'zoomOut2d',
                                          'autoScale2d',
                                          'resetScale2d'
                                          'hoverCompareCartesian',
                                          'hoverClosestCartesian',
                                          'toggleSpikelines',
                                          ],
               'displaylogo'           : False
               }

But we still get a “Compare data on hover” option, which we’d like to remove because it doesn’t make sense for this type of data:

screen shot 2017-08-01 at 3 42 33 pm

Do you know why this hoverCompareCartesian option can’t seem to get turned off? Thank you! Olga

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jamestwebbercommented, Aug 2, 2017

Uh…yeah. We have a missing comma in our config list. Nothing to see here.

< _ <

We are data scientists.

> _ >

0reactions
jamestwebbercommented, Aug 2, 2017

Weird, I’ll check it out. Maybe we just have a stale version, but we should be pretty up to date.

Read more comments on GitHub >

github_iconTop Results From Across the Web

API Docs · PlotlyJS - Julia Plots
Add trace(s) at a specified location in the Plot's array of data. ... 3] to the end of the first trace's y attribute...
Read more >
PlotlyBase.jl API Documentation · PlotlyBase.jl - JuliaHub
Construct a plot of f from x0 to x1 , using the layout l . ... subplot types do not have zoombox via...
Read more >
Compare data on hover by default - Plotly Python
I tried to set hovermode="closes" using update_layout with fig . However it doesn't set the option I need as default. I read the...
Read more >
Python Dash Plotly: Show default closest data on hover or ...
Setting your graph default to showing closest data in plotly dash can be done by adding hovermode to the figure, as follows:
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