You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, When I used a pandas array of uint64 on plotly, the numbers appear negative.
I know that they cannot be as i force the type to unsigned when i append:
tempDataFrame[YaxisIn].astype(np.uint64)
In this call:
traces.append(go.Scattergl(
x = tempDataFrame[XaxisIn],
y = tempDataFrame[YaxisIn].astype(np.uint64),
mode = 'markers',
marker = dict (line = dict(width = 1)),
name = database + "." + TablesIn + ".notUseful"
)
)
Activity
jonmmease commentedon Sep 3, 2018
Hi @suleimanmashini,
Please provide a full example that demonstrates the issue, with data and imports, formatted in a "fenced code block" https://www.google.com/url?sa=t&source=web&rct=j&url=https://help.github.com/articles/creating-and-highlighting-code-blocks/&ved=2ahUKEwjMq--AgJ_dAhWQl-AKHSQrCG4QFjAAegQICBAD&usg=AOvVaw297etkhd2-RtKM-CXyUZ9h.
Also please include the version of plotly.py you are using.
Thanks!
jonmmease commentedon Sep 6, 2018
Hi @suleimanmashini ,
Could you try again with plotly.py 3.2.0 (released yesterday)? When I run your example with this version I don't see this issue:
If that doens't fix it for you, can you post what version of numpy you have installed?
I did notice that trying to plot a figure with a
uint64array breaks theFigureWidgetserialization, so I'm going to mark this as a bug either way.Pandas datetime and numpy numeric array fixes
Pandas datetime and numpy numeric array fixes (#1163)
jonmmease commentedon Sep 8, 2018
The
FigureWidgetissue noted above has been fixed in #1163