perspective icon indicating copy to clipboard operation
perspective copied to clipboard

PerspectiveWidget graph tooltips error

Open robambalu opened this issue 4 years ago • 2 comments

I noticed that the graph tooltips of the jupyerlab perspective grab ( d3_y_lin3 ) shows the circle but no data. I see this error stack in the console:

Uncaught TypeError: A.select(...).selectAll(...).data(...).join is not a function at index.js:formatted:10575 at index.js:formatted:10575 at SVGCircleElement.a (index.js:formatted:10575) at zA.AA [as each] (index.js:formatted:10575) at i (index.js:formatted:10575) at u (index.js:formatted:10575) at HTMLElement. (index.js:formatted:10575) at a.call (dispatch.js:57) at HTMLElement.t (index.js:formatted:10575) at HTMLElement. (index.js:formatted:10575)

Simplest of graphs reproduces the issue for me:

import pandas import perspective x = pandas.DataFrame( { "a" : list(range(10))}) perspective.PerspectiveWidget( x, plugin='d3_y_line')

then hover mouse on the graph

robambalu avatar Apr 26 '21 14:04 robambalu

I can't repro this on binder. What browser are you using?

repro

texodus avatar Apr 27 '21 05:04 texodus

seems to work for me on binder too ( in the same browser ), so not sure whats causing it. If I run the example snippet you're demoing here I still get the error in my notebook. I'm on chrome v 90.0.4430.85.

robambalu avatar Apr 27 '21 12:04 robambalu