-
Notifications
You must be signed in to change notification settings - Fork 16
fix: DH-18653: migrate to plotly >= 6.0.0 #1179
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
base: main
Are you sure you want to change the base?
Changes from all commits
c99d261
b102a79
6180e77
64354b9
d30f2d9
194462e
b9e05bc
0251aa2
d1ab6b4
f4c9c59
12d7928
60f6dbe
5fe7b8e
bd7b1ad
da1e4a6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,11 +4,13 @@ | |
from unittest.mock import patch | ||
|
||
import pandas as pd | ||
from deephaven import DHError | ||
from deephaven.plot.express import DeephavenFigure | ||
from typing import List, Any | ||
import os | ||
import pathlib | ||
from typing import List | ||
|
||
# Deephaven's NULL_INT and NULL_DOUBLE, converted with Plotly's base64 API | ||
# https://github.com/plotly/plotly.py/pull/4470 | ||
PLOTLY_NULL_INT = {"dtype": "i4", "bdata": "AAAAgA=="} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do you have any more details on these? Any documentation about where these are defined in plotly? I'm guessing you found these as a result of unit tests, but would like to know why these values. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It is this PR - plotly/plotly.py#4470 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. More specifically There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Added comment to code |
||
PLOTLY_NULL_DOUBLE = {"dtype": "f8", "bdata": "////////7/8="} | ||
|
||
|
||
def remap_types( | ||
|
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.
We should update this in web-client-ui as well: https://github.com/deephaven/web-client-ui/blob/75fe9c11ee23e5fc59a1160750a28ae6c3f047b5/package.json#L96
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.
deephaven/web-client-ui#2455