- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 1.9k
 
          Skip "hoverinfo": "none" trace display for hover modes
          #5854
        
          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
          
     Merged
      
      
    
  
     Merged
                    Changes from 17 commits
      Commits
    
    
            Show all changes
          
          
            19 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      d2db27d
              
                Skip  "hoverinfo": "none"
              
              
                Domino987 aee42e0
              
                add draft logs
              
              
                 0e897b5
              
                improve fitlering of hover data
              
              
                 6c181f6
              
                Update log
              
              
                 b116dc1
              
                move filter to unified only
              
              
                 8f5f3d5
              
                guard for no hover labels
              
              
                 b08416b
              
                Merge remote-tracking branch 'upstream/master' into patch-2
              
              
                 b0eb6db
              
                revert changes to hover.js
              
              
                archmoj c52953d
              
                do not display points with none hoverinfo in unified modes
              
              
                archmoj f41a601
              
                Merge pull request #1 from plotly/pull-5854_dev
              
              
                Domino987 3fe967f
              
                Add tribute text
              
              
                Domino987 ccd86f0
              
                add test for hoverinfo: none
              
              
                Domino987 27d1e12
              
                add early eject for no labels to be drawn
              
              
                Domino987 558a61b
              
                return empty array for early eject
              
              
                Domino987 897d1f7
              
                fix test of package json
              
              
                Domino987 285da63
              
                fix linting
              
              
                Domino987 e0cf3a7
              
                Only filter hovermode none for grouped label
              
              
                Domino987 5ce3977
              
                move hoverinfo: 'none' down in test
              
              
                Domino987 0d9a1be
              
                fix should not display hover for display: none
              
              
                Domino987 File filter
Filter by extension
Conversations
          Failed to load comments.   
        
        
          
      Loading
        
  Jump to
        
          Jump to file
        
      
      
          Failed to load files.   
        
        
          
      Loading
        
  Diff view
Diff view
There are no files selected for viewing
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              | Original file line number | Diff line number | Diff line change | 
|---|---|---|
| @@ -0,0 +1 @@ | ||
| - Skip `"hoverinfo": "none"` trace display for hover modes [[#5854](https://github.com/plotly/plotly.js/pull/5854)], with thanks to @Domino987 for the contribution! | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test fails on CircleCI. Does it pass on your machine?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No it does not and I have problems with the tests in the first place on my machine, since its a windows.
But yes, that should work.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The test is not passing.
Please simply replace it with
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Domino987 Could you please adjust the test as mentioned above? It looks like the only remaining item here.