# 📊 Plotly Python

**URL:** https://community.plotly.com/c/plotly-python/5.md

[Latest](https://community.plotly.com/latest.md) · [Categories](https://community.plotly.com/categories.md) · [Tags](https://community.plotly.com/tags.md)

---

## [About the 📊 Plotly Python category](https://community.plotly.com/t/about-the-plotly-python-category/29)

<div class="topic-metadata">

**Author:** [@jack](https://community.plotly.com/u/jack)\
**Replies:** 1\
**Last updated:** [June 7, 2024, 3:22pm UTC](https://community.plotly.com/t/about-the-plotly-python-category/29 "2024-06-07T15:22:05Z")

</div>

QA & discourse on the Plotly Python library.

---

## [Plotly express how to separate symbol and color in legend](https://community.plotly.com/t/plotly-express-how-to-separate-symbol-and-color-in-legend/38950)

<div class="topic-metadata">

**Author:** [@songsy](https://community.plotly.com/u/songsy)\
**Replies:** 6\
**Last updated:** [September 25, 2026, 10:26am UTC](https://community.plotly.com/t/plotly-express-how-to-separate-symbol-and-color-in-legend/38950 "2026-09-25T10:26:15Z")

</div>

I’m using python and plotly.express, I use categorical variables for both symbol and color, but the legend doesn’t separate symbol and color, they are grouped together. Is there way to show a legend for symbol and color …

---

## [\`hoverlabel\_align="right",\` is not honored in \`hovermode="x unified"\`](https://community.plotly.com/t/hoverlabel-align-right-is-not-honored-in-hovermode-x-unified/97717)

<div class="topic-metadata">

**Author:** [@stdedos](https://community.plotly.com/u/stdedos)\
**Replies:** 1\
**Last updated:** [September 21, 2026, 10:52pm UTC](https://community.plotly.com/t/hoverlabel-align-right-is-not-honored-in-hovermode-x-unified/97717 "2026-09-21T22:52:02Z")

</div>

I have a hovermode="x unified" stacked bar graph (with a second y-axis scatter-plot with a connecting line if it makes a difference). Because the graph renders numbers, I would like to align them all to right for easier…

---

## [FlexViz: the successor of plotly-resampler](https://community.plotly.com/t/flexviz-the-successor-of-plotly-resampler/97707)

<div class="topic-metadata">

**Author:** [@jvdd](https://community.plotly.com/u/jvdd)\
**Replies:** 0\
**Last updated:** [September 20, 2026, 10:20am UTC](https://community.plotly.com/t/flexviz-the-successor-of-plotly-resampler/97707 "2026-09-20T10:20:07Z")

</div>

A couple of years ago we had the pleasure to share our tool plotly-resampler with you. The goal of this tool was to make in-memory line chart visualization scalable within the plotly.py and dash framework. Since then, we…

---

## [Make scatter trace extend beyond the plot area](https://community.plotly.com/t/make-scatter-trace-extend-beyond-the-plot-area/97590)

<div class="topic-metadata">

**Author:** [@ckkart](https://community.plotly.com/u/ckkart)\
**Replies:** 4\
**Last updated:** [September 10, 2026, 8:31pm UTC](https://community.plotly.com/t/make-scatter-trace-extend-beyond-the-plot-area/97590 "2026-09-10T20:31:17Z")

</div>

Hi, I would like to allow a trace of a scatter plot to extend in y beyond the plot area, i.e. the recatangle limited by the max range values. The intention is to draw attention to an event in a time series which has muc…

---

## [Cannot find active updatemenu button](https://community.plotly.com/t/cannot-find-active-updatemenu-button/97503)

<div class="topic-metadata">

**Author:** [@Alchemist](https://community.plotly.com/u/Alchemist)\
**Replies:** 2\
**Last updated:** [September 9, 2026, 10:32pm UTC](https://community.plotly.com/t/cannot-find-active-updatemenu-button/97503 "2026-09-09T22:32:50Z")

</div>

Hi, I am currently writing a code to depict some signal values from the graphs. The graphs could toggle between the values Sig1 and Sig2 and hence plot different points. Since I am using these plots as images in another…

---

## [Making a custom grid view; working but slow](https://community.plotly.com/t/making-a-custom-grid-view-working-but-slow/97405)

<div class="topic-metadata">

**Author:** [@Kevin\_Lalli](https://community.plotly.com/u/Kevin_Lalli)\
**Replies:** 2\
**Last updated:** [August 14, 2026, 5:32am UTC](https://community.plotly.com/t/making-a-custom-grid-view-working-but-slow/97405 "2026-08-14T05:32:58Z")

</div>

Hi, I am looking for help improving the speed of this chart type. Here is my best attempt at a standalone example: \`\`\` import numpy as np import plotly.graph\_objects as go # 13 ranks in poker order ranks = list("A…

---

## [Plotlyml library: ML Monitoring Visualization Primitives for Plotly — Distribution Drift, Model Disagreement, Quantile Evolution Resources](https://community.plotly.com/t/plotlyml-library-ml-monitoring-visualization-primitives-for-plotly-distribution-drift-model-disagreement-quantile-evolution-resources/97403)

<div class="topic-metadata">

**Author:** [@AnnMarieW](https://community.plotly.com/u/AnnMarieW)\
**Replies:** 0\
**Last updated:** [August 11, 2026, 8:49pm UTC](https://community.plotly.com/t/plotlyml-library-ml-monitoring-visualization-primitives-for-plotly-distribution-drift-model-disagreement-quantile-evolution-resources/97403 "2026-08-11T20:49:44Z")

</div>

Hi Plotly community! Just wanted to highlight this cool plotlyml project :smiling\_face\_with\_sunglasses: GitHub: GitHub - samibahig/plotlyml: ML Monitoring Visualization Primitives for Plotly — Distribution Drift, Mode…

---

## [Subplot spacing with scaleanchor and constrain](https://community.plotly.com/t/subplot-spacing-with-scaleanchor-and-constrain/92987)

<div class="topic-metadata">

**Author:** [@Raphael\_Ratz](https://community.plotly.com/u/Raphael_Ratz)\
**Replies:** 1\
**Last updated:** [August 6, 2026, 8:06am UTC](https://community.plotly.com/t/subplot-spacing-with-scaleanchor-and-constrain/92987 "2026-08-06T08:06:10Z")

</div>

Hi, I am trying to create a figure with three subplots. The bottom left subplot is supposed to be a 2D histogram with projections on the top and right sides. The 2D histogram is supposed to be square (hence, the scalea…

---

## [Kaleido 1.0.0 errors within Docker container](https://community.plotly.com/t/kaleido-1-0-0-errors-within-docker-container/93068)

<div class="topic-metadata">

**Author:** [@mwin](https://community.plotly.com/u/mwin)\
**Replies:** 9\
**Last updated:** [July 24, 2026, 6:30pm UTC](https://community.plotly.com/t/kaleido-1-0-0-errors-within-docker-container/93068 "2026-07-24T18:30:32Z")

</div>

Kaleido.\_kaleido\_tab.JavascriptError is encountered when running Plotly in a docker container Stack trace indicates this is emanating from: File “/usr/local/lib/python3.12/site-packages/kaleido/\_kaleido\_tab.py”, line 3…

---

## [Plotly 6.9: CDN not found](https://community.plotly.com/t/plotly-6-9-cdn-not-found/97252)

<div class="topic-metadata">

**Author:** [@Pfeffburger](https://community.plotly.com/u/Pfeffburger)\
**Replies:** 3\
**Last updated:** [July 17, 2026, 9:20am UTC](https://community.plotly.com/t/plotly-6-9-cdn-not-found/97252 "2026-07-17T09:20:07Z")

</div>

Hi all! I had some code break over the last day or so and it looks like it’s because the new plotly.js CDN (https://cdn.plot.ly/plotly-3.7.0.min.js) can not be found. Does anyone know a workaround for this? Or do I just …

---

## [Hovertemplate in stacked area chart](https://community.plotly.com/t/hovertemplate-in-stacked-area-chart/38146)

<div class="topic-metadata">

**Author:** [@gv-collibris](https://community.plotly.com/u/gv-collibris)\
**Replies:** 4\
**Last updated:** [June 26, 2026, 6:53pm UTC](https://community.plotly.com/t/hovertemplate-in-stacked-area-chart/38146 "2026-06-26T18:53:58Z")

</div>

Hi, I’m trying to build a stacked area chart, starting from the example provided here. However, I can’t seem to get hovertemplate to work on the filled area: hovering on a point works fine, but hovering over the corres…

---

## [NFL Motion in bunch formation](https://community.plotly.com/t/nfl-motion-in-bunch-formation/97188)

<div class="topic-metadata">

**Author:** [@bernardocharles](https://community.plotly.com/u/bernardocharles)\
**Replies:** 1\
**Last updated:** [June 26, 2026, 2:48am UTC](https://community.plotly.com/t/nfl-motion-in-bunch-formation/97188 "2026-06-26T02:48:57Z")

</div>

Chief vs San Francisco last TD in Super Bowl 58 Data Analysis for the bunch formation

---

## [Hovertemplate does not show 'name' property](https://community.plotly.com/t/hovertemplate-does-not-show-name-property/36139)

<div class="topic-metadata">

**Author:** [@ngaudio](https://community.plotly.com/u/ngaudio)\
**Replies:** 6\
**Last updated:** [June 25, 2026, 12:59pm UTC](https://community.plotly.com/t/hovertemplate-does-not-show-name-property/36139 "2026-06-25T12:59:42Z")

</div>

Hello, I’m trying to create a hovertemplate for a scatter plot to show the name of the data series, but when I hover over the series, all that shows is %{name}. The other chart properties, x, y, and text all display pro…

---

## [Loop plotly express animation](https://community.plotly.com/t/loop-plotly-express-animation/97159)

<div class="topic-metadata">

**Author:** [@kiracofe8](https://community.plotly.com/u/kiracofe8)\
**Replies:** 1\
**Last updated:** [June 20, 2026, 11:56am UTC](https://community.plotly.com/t/loop-plotly-express-animation/97159 "2026-06-20T11:56:57Z")

</div>

I am using plotly express to display an animated line chart in streamlit. I would like the animation to loop. Google’s AI suggested the following, but it does not work. Is there any good way to get the animation to lo…

---

## [A Beautiful collection of Charts](https://community.plotly.com/t/a-beautiful-collection-of-charts/97137)

<div class="topic-metadata">

**Author:** [@adamschroeder](https://community.plotly.com/u/adamschroeder)\
**Replies:** 0\
**Last updated:** [June 16, 2026, 2:25pm UTC](https://community.plotly.com/t/a-beautiful-collection-of-charts/97137 "2026-06-16T14:25:07Z")

</div>

Chris Parmer, Plotly’s co-founder, put together an extensive list of charts that speaks to the versatility and depth of Plotly. Enjoy!

---

## [Using variables instead of dates in Gantt Charts](https://community.plotly.com/t/using-variables-instead-of-dates-in-gantt-charts/97062)

<div class="topic-metadata">

**Author:** [@aupadhya](https://community.plotly.com/u/aupadhya)\
**Replies:** 1\
**Last updated:** [June 8, 2026, 7:35pm UTC](https://community.plotly.com/t/using-variables-instead-of-dates-in-gantt-charts/97062 "2026-06-08T19:35:56Z")

</div>

I want to assign a month as M0, and use notation like M1, M2, etc. on the Gantt chart and not rely on dates. How can I do it?

---

## [London Plotly meetup](https://community.plotly.com/t/london-plotly-meetup/97046)

<div class="topic-metadata">

**Author:** [@adamschroeder](https://community.plotly.com/u/adamschroeder)\
**Replies:** 0\
**Last updated:** [June 1, 2026, 8:18pm UTC](https://community.plotly.com/t/london-plotly-meetup/97046 "2026-06-01T20:18:32Z")

</div>

Hey England Plotly community, A reminder that our London Plotly meetup is this Thursday at 6pm. We’ll enjoy some pizza and fizzy drinks while building dashboards together to learn more about the London dataset of the m…

---

## [Having problem starting plotly in windows](https://community.plotly.com/t/having-problem-starting-plotly-in-windows/96618)

<div class="topic-metadata">

**Author:** [@Akin](https://community.plotly.com/u/Akin)\
**Replies:** 16\
**Last updated:** [May 29, 2026, 3:47pm UTC](https://community.plotly.com/t/having-problem-starting-plotly-in-windows/96618 "2026-05-29T15:47:52Z")

</div>

Hei, I have used plotly regularly in windows. Last two days, I can not use due to the error below. It would be great if you could have any suggestion. Failed to install dependencies for environment ‘application\_backend’…

---

## [San Francisco - Plotly Celebrating 10 years of Open Source](https://community.plotly.com/t/san-francisco-plotly-celebrating-10-years-of-open-source/96544)

<div class="topic-metadata">

**Author:** [@adamschroeder](https://community.plotly.com/u/adamschroeder)\
**Replies:** 2\
**Last updated:** [May 13, 2026, 12:59am UTC](https://community.plotly.com/t/san-francisco-plotly-celebrating-10-years-of-open-source/96544 "2026-05-13T00:59:09Z")

</div>

Hi Plotly community, Plotly’s Python, R, and JavaScript libraries have now been freely available as open-source software for a decade. To celebrate a decade of innovation, collaboration, and community, we invite you to …

---

## [Venn diagram does not show text after callback call](https://community.plotly.com/t/venn-diagram-does-not-show-text-after-callback-call/64906)

<div class="topic-metadata">

**Author:** [@Melinda](https://community.plotly.com/u/Melinda)\
**Replies:** 1\
**Last updated:** [May 2, 2026, 3:04am UTC](https://community.plotly.com/t/venn-diagram-does-not-show-text-after-callback-call/64906 "2026-05-02T03:04:36Z")

</div>

Hi, When the Venn diagram is first displayed after a callback call, the text displays correctly, but if the callback is called again and different data should be displayed on the diagram, the new text only appears when …

---

## [Plotly 6 map attribution box positioning](https://community.plotly.com/t/plotly-6-map-attribution-box-positioning/91228)

<div class="topic-metadata">

**Author:** [@prwagner](https://community.plotly.com/u/prwagner)\
**Replies:** 2\
**Last updated:** [April 29, 2026, 4:21pm UTC](https://community.plotly.com/t/plotly-6-map-attribution-box-positioning/91228 "2026-04-29T16:21:36Z")

</div>

Since the upgrade to plotly 6.0, the attribution box in map plots appears below the map (see e.g., Density heatmap in Python) instead of hovering above the map as in previous releases. This is not ideal, if the map is t…

---

## [Blog post: The Golden Trilogy with Plotly](https://community.plotly.com/t/blog-post-the-golden-trilogy-with-plotly/96859)

<div class="topic-metadata">

**Author:** [@adamschroeder](https://community.plotly.com/u/adamschroeder)\
**Replies:** 0\
**Last updated:** [April 24, 2026, 3:09pm UTC](https://community.plotly.com/t/blog-post-the-golden-trilogy-with-plotly/96859 "2026-04-24T15:09:44Z")

</div>

:writing\_hand: Community member, @deepa-shalini , shares her experimentation with multiple visualization styles: from a trusted financial baseline to an eye-catching radial narrative, to an artistic market story. The Go…

---

## [Plotly charts in Streamlit rendering “undefined” between title and y-axis](https://community.plotly.com/t/plotly-charts-in-streamlit-rendering-undefined-between-title-and-y-axis/96720)

<div class="topic-metadata">

**Author:** [@dannyphantom](https://community.plotly.com/u/dannyphantom)\
**Replies:** 1\
**Last updated:** [April 10, 2026, 2:00pm UTC](https://community.plotly.com/t/plotly-charts-in-streamlit-rendering-undefined-between-title-and-y-axis/96720 "2026-04-10T14:00:39Z")

</div>

I’m building a Streamlit dashboard using Plotly and one of my charts is rendering the word undefined between the chart title and the y-axis. It appears where the axis title would normally be. I apply a common layout …

---

## [Launch of Plotly University](https://community.plotly.com/t/launch-of-plotly-university/96701)

<div class="topic-metadata">

**Author:** [@adamschroeder](https://community.plotly.com/u/adamschroeder)\
**Replies:** 0\
**Last updated:** [April 8, 2026, 3:30pm UTC](https://community.plotly.com/t/launch-of-plotly-university/96701 "2026-04-08T15:30:21Z")

</div>

:tada: I’m proud to announce that we just launched Plotly University. Plotly University is a new initiative in collaboration between Plotly and the community. The goal is to become the go-to source of information on dat…

---

## [Plotly Community Meetup - April 30](https://community.plotly.com/t/plotly-community-meetup-april-30/96687)

<div class="topic-metadata">

**Author:** [@adamschroeder](https://community.plotly.com/u/adamschroeder)\
**Replies:** 0\
**Last updated:** [April 7, 2026, 3:31pm UTC](https://community.plotly.com/t/plotly-community-meetup-april-30/96687 "2026-04-07T15:31:23Z")

</div>

Hey everyone, Join our April meetup to learn more about the latest in Dash and Plotly. We’ll also share Plotly Studio updates and a demo from the latest agentic feature being built by Plotly. Plotly University and the…

---

## [Ploty Candlesticks - draw them cleaner](https://community.plotly.com/t/ploty-candlesticks-draw-them-cleaner/96673)

<div class="topic-metadata">

**Author:** [@Zangief](https://community.plotly.com/u/Zangief)\
**Replies:** 2\
**Last updated:** [April 6, 2026, 5:40pm UTC](https://community.plotly.com/t/ploty-candlesticks-draw-them-cleaner/96673 "2026-04-06T17:40:48Z")

</div>

Hi, I’d like plotly to draw candlesticks with sharp borders, like the “Tradingview” candles you see on the right side. Is it possible to make this adjustment and how? Maybe by modifying the plotly scource code? Setting…

---

## [Reverse loop links not working properly](https://community.plotly.com/t/reverse-loop-links-not-working-properly/96667)

<div class="topic-metadata">

**Author:** [@VincMy](https://community.plotly.com/u/VincMy)\
**Replies:** 2\
**Last updated:** [April 6, 2026, 1:56pm UTC](https://community.plotly.com/t/reverse-loop-links-not-working-properly/96667 "2026-04-06T13:56:10Z")

</div>

Hi everyone, I am building a Sankey diagram in Plotly for a material flow analysis and I am struggling with reverse flows. My issue is that some flows go from a node on the right side of the diagram (Waste) back to nod…

---

## [Easter Eggs 2026](https://community.plotly.com/t/easter-eggs-2026/96670)

<div class="topic-metadata">

**Author:** [@empet](https://community.plotly.com/u/empet)\
**Replies:** 0\
**Last updated:** [April 4, 2026, 8:45pm UTC](https://community.plotly.com/t/easter-eggs-2026/96670 "2026-04-04T20:45:21Z")

</div>

Happy Easter!

---

## [Whay was my plolty community account deleted?](https://community.plotly.com/t/whay-was-my-plolty-community-account-deleted/96640)

<div class="topic-metadata">

**Author:** [@fergcd](https://community.plotly.com/u/fergcd)\
**Replies:** 1\
**Last updated:** [March 30, 2026, 7:09pm UTC](https://community.plotly.com/t/whay-was-my-plolty-community-account-deleted/96640 "2026-03-30T19:09:45Z")

</div>

Hello, I created account with gmail and posted a new topic about box/violin chart today morning. But after few hours, I got an e-mail saying that my account was deleted by staff. So I created another account with other…

[Next page](https://community.plotly.com/c/plotly-python/5.md?page=1)
