plotly.py
plotly.py copied to clipboard
The interactive graphing library for Python :sparkles: This project now includes Plotly Express!
It appears the feature to allow offsetgroup to work with stacked/relative bar traces (https://github.com/plotly/plotly.js/pull/7009) does not work with horizontally oriented bar traces. Taking the example from the documentation https://plotly.com/python/bar-charts/#grouped-stacked-bar-chart if...
The following example crashes: ```python import plotly.express as px import numpy as np from pandas import DataFrame N = 10 df = DataFrame() df['x'] = np.random.random(N) df['y'] = np.random.random(N) df['label']...
Currently with plotly, there is no issue at all supporting multiple axes in cartesian plots. https://plotly.com/python/multiple-axes/ However, with polar plots, it appears there can only ever be one radial axis....
## Summary This PR adds `facet_row` support to `plotly.express.imshow`, enabling visualization of 4D and 5D data by faceting along both row and column dimensions. Closes #4108 ## Motivation Currently, `px.imshow`...
This PR is a first step toward refactoring the autoshape helpers to use the new `layout.shape.label` API in Plotly.js, while keeping backward-compatible annotation behavior for now. ### Scope This PR...
Fixes https://github.com/plotly/plotly.py/issues/5433. When a user explicitly provides `color_continuous_scale`, it should always be respected, even if the template has `coloraxis_autocolorscale=True`. Previously, the template's `autocolorscale` setting would override the user's explicit colorscale....
plotly[express, kaleido] v6.5.0 jupyter v1.1.1 winver: 25H2 chrome: v142.0.7444.176 Simple example in jupyter: ``` import plotly.express as px data_canada = px.data.gapminder().query("country == 'Canada'") fig = px.bar(data_canada, x='year', y='pop') fig.show() fig.write_image('fig.svg')...
Fix typos, missing imports, and wrong imports
# Feature Request: `facet_row` support in `px.imshow` It would be very convenient to be able to utilise the `facet_row` kwarg with `plotly.express.imshow`. ## Current Behaviour Currently, `px.imshow` only takes the...
I've noticed that adding a very small scatter to a large animation will make the lag when moving between frames very bag when working on a project requiring visualization of...