()
| 114 | } |
| 115 | |
| 116 | export function d3GetEvent() { |
| 117 | // In JupyterLab we can have require('d3-selection').event |
| 118 | // be a different module as the one that is used in d3.on |
| 119 | // leading to a null event, for now we can use window.event as fallback. |
| 120 | return require('d3-selection').event || window.event; |
| 121 | } |
| 122 | |
| 123 | // Phosphor shim for ipywidgets 7 support |
| 124 | export function getLuminoWidget(ipywidget: DOMWidgetView) { |
no outgoing calls
no test coverage detected
searching dependent graphs…