plotly.py
plotly.py copied to clipboard
The interactive graphing library for Python :sparkles: This project now includes Plotly Express!
Plotly express functions fall over when given dataframes containing `pd.NA` values. I think these should have the same behaviour as `None` values. Example: ``` # This works px.scatter(pd.DataFrame([1, 2, 3,...
The following is the copy-paste of a question I opened on stackoverflow, it looks like to be a bug, so here i go: I'm trying to keep the viewpoint consistent...
**Behaviour:** when `add_hline()` or `add_vline()` are called with `np.nan`, a diagonal line is rendered (perhaps because `np.nan` is a float?) **Expected:** possibly raise an exception? **Minimal example:** 
I was trying out the examples from https://plotly.com/python/2D-Histogram/ and wanted to use the density heat map with marginal distribution on x and y but wanted to change the colour map...
Hello, it would be very nice to have the possibilty to set the z-ordering priority of traces in plotly. I think the way matplotlib handles it is pretty handy: -...
I have a heatmap based on `px.imshow` in my dash application that renders a dataframe of expression values. Currently, the visualization works fine if the number of dataframe rows is...
This PR make use of [this plotly.js PR](https://github.com/plotly/plotly.js/pull/5230) and changes the default behavior to pass numpy arrays as plotly.js base64 spec. ### Code Changes * Adds `to_typed_array_spec` function to use...
## Description Using Pandas' nullable data types (`Int64` and `Float64`) result in an incorrect plot. ## Code ``` import pandas as pd import plotly.express as px df = pd.DataFrame( data=[1,2,3,4,5],...
When using html tags in the labels of a Sankey diagram the html itself is displayed rather than the resolved form (even though in the hover labels it is resolved)....
This snippet in a Python cell produces a chart, but the chart does not update to get the new title and new data. ``` import plotly.graph_objs as go from plotly.offline...