plotly.py
plotly.py copied to clipboard
The interactive graphing library for Python :sparkles: This project now includes Plotly Express!
- Existing code produces this warning during `python setup.py updateplotlyjs` step from `contributing.md`: ``` /Users/gvwilson/plotly.py/packages/python/chart-studio/chart_studio/tools.py:290: SyntaxWarning: "is" with a literal. Did you mean "=="? if share_key is "": ``` -...
To reproduce: Create `lines.py` as follows: ```python import plotly.graph_objects as go import plotly.express as px import time import random N = [50, 100, 200, 400, 800] def plot_random_lines(n): fig =...
See https://github.com/plotly/plotly.py/issues/4581
This is related to [this](https://community.plotly.com/t/legend-positioning-support-for-axis-domain/81813) question in the community forum. Opened an issue since I think this is a better place for a feature request. In short, enabling arbitrary axis...
Initially reported on the [Plotly forum](https://community.plotly.com/t/hoversubplots-axis-not-working-with-make-subplots/84239). Using make_subplots means that the `hoversubplots=“axis”` will not work correctly. Sample code that produces the error: [Codepen](https://codepen.io/charming-data/pen/bGJXQWL). ``` import plotly.graph_objects as go from plotly...
Hierarchical plots constructed with `px.treemap`, `px.icicle`, and `px.sunburst`, aggregate data at internal nodes as follows: - `values`: sum of children, - `color`: `values`-weighted sum of children if `df[color]` is numeric,...
Dear community, I'm using the graph object to plot the parallel coordinate plot. Everything works well, but I want to draw soft or curved lines in the parallel coordinate plot...
I am creating a plot, which has color and opacity together. When I use color, the opacity doesn't work correctly. Here is a reproducible example: ``` a = [0.067, 2.159,...
When working on updating docs depedencies in https://github.com/plotly/plotly.py/pull/4596, I found the following two examples that don't work on the latest xarray. ``` import plotly.express as px import xarray as xr...