Skip to content

Commit e7bae93

Browse files
authored
Merge branch 'main' into autocolorscale
2 parents 7afd8b9 + 4b902be commit e7bae93

26 files changed

Lines changed: 98256 additions & 97996 deletions

.github/ISSUE_TEMPLATE.md

Lines changed: 0 additions & 9 deletions
This file was deleted.
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
name: Bug report
3+
about: Create a bug report for a plotly.py issue
4+
title: "[BUG]: "
5+
labels: bug
6+
7+
---
8+
9+
### Instructions (remove this section before submitting report)
10+
11+
Thanks for your interest in plotly.py!
12+
13+
- Before submitting a new bug report, please search for existing and closed issues. If your bug is not addressed yet, fill out the sections below and submit a new issue.
14+
- Implementation questions ("How do I do ...?") should be asked on our [Community Forum](https://community.plotly.com/c/plotly-python/5) or on [Stack Overflow](https://stackoverflow.com/questions/tagged/plotly) (tagged 'plotly').
15+
- Comments should add content to the discussions. Approbation comments such as *+1* or *I would like this feature to be implemented as well* will be deleted by the maintainers. Please use [GitHub reactions](https://github.com/blog/2119-add-reactions-to-pull-requests-issues-and-comments) instead.
16+
17+
### Description
18+
19+
_Add a clear description of the issue that you're having._
20+
21+
### Screenshots/Video
22+
23+
_Add screenshots or a video of the issue._
24+
25+
### Steps to reproduce
26+
27+
_Reports **must** include steps to reproduce the issue. Please use the [latest version](https://github.com/plotly/plotly.py/releases) of plotly.py in your report unless not applicable._
28+
29+
- Go to '...'
30+
- Click on X
31+
- Note the issue with Y
32+
33+
### Notes
34+
35+
_Add info here that doesn't fit in the other sections._
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
name: Feature request
3+
about: Submit a new feature request for plotly.py
4+
title: "[FEATURE]: "
5+
labels: feature
6+
7+
---
8+
9+
### Instructions (remove this section before submitting an issue)
10+
11+
Thanks for your interest in plotly.py!
12+
13+
- Before submitting a new feature request, please search for existing and closed requests. If your request is novel, fill out the sections below and submit a new request.
14+
- Comments should add content to the discussions. Approbation comments such as *+1* or *I would like this feature to be implemented as well* will be deleted by the maintainers. Please use [GitHub reactions](https://github.com/blog/2119-add-reactions-to-pull-requests-issues-and-comments) instead.
15+
16+
### Description
17+
18+
_Add a clear description of the feature that you're requesting._
19+
20+
21+
### Why should this feature be added?
22+
23+
_Provide an argument for why this feature should be added. We can't add everything, so this will help us determine what gets worked on. Please also consider creating a PR and adding the feature yourself. Help is always appreciated._
24+
25+
### Mocks/Designs
26+
27+
_Please add any mocks or designs you might have for the feature._
28+
29+
### Notes
30+
31+
_Add info here that doesn't fit in the other sections._

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,15 @@ This project adheres to [Semantic Versioning](http://semver.org/).
77
### Fixed
88
- Fix issue where user-specified `color_continuous_scale` was ignored when template had `autocolorscale=True` [[#5439](https://github.com/plotly/plotly.py/pull/5439)]
99

10+
## [6.5.1] - 2026-01-07
11+
12+
### Fixed
13+
- Fix issue where Plotly Express ignored trace-specific color sequences defined in templates via `template.data.<trace_type>` [[#5437](https://github.com/plotly/plotly.py/pull/5437)], with thanks to @antonymilne for the contribution!
14+
1015
### Updated
1116
- Speed up `validate_gantt` function [[#5386](https://github.com/plotly/plotly.py/pull/5386)], with thanks to @misrasaurabh1 for the contribution!
17+
- Update plotly.js from version 3.3.0 to version 3.3.1. See the plotly.js [release notes](https://github.com/plotly/plotly.js/releases/tag/v3.3.1) for more information. [[#5456](https://github.com/plotly/plotly.py/pull/5456)]. Notable changes include:
18+
- Add support for arrays for the pie properties `showlegend` and `legend`, so that these can be configured per slice. [[#7580](https://github.com/plotly/plotly.js/pull/7580)]
1219

1320
## [6.5.0] - 2025-11-17
1421

CITATION.cff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ authors:
99
- family-names: "Parmer"
1010
given-names: "Chris"
1111
title: "An interactive, open-source, and browser-based graphing library for Python"
12-
version: 6.5.0
12+
version: 6.5.1
1313
doi: 10.5281/zenodo.14503524
1414
date-released: 2025-11-17
1515
url: "https://github.com/plotly/plotly.py"

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ npm run build
137137
These commands also create an *editable install* of plotly.py
138138
so that you can test your changes iteratively without having to rebuild the plotly.py package explicitly;
139139
for more information please see
140-
[the `pip` documentation on editable installs](https://pip.pypa.io/en/stable/reference/pip_install/#install-editable)
140+
[the `pip` documentation on editable installs](https://pip.pypa.io/en/stable/topics/local-project-installs/#editable-installs)
141141
Please note that the single quotes are needed to escape the `[]` characters.
142142

143143
### Formatting

_plotly_utils/colors/_swatches.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def _swatches(module_names, module_contents, template=None):
1515
from plotly.express._core import apply_default_cascade
1616

1717
args = dict(template=template)
18-
apply_default_cascade(args)
18+
apply_default_cascade(args, constructor=None)
1919

2020
sequences = [
2121
(k, v)
@@ -66,7 +66,7 @@ def _swatches_continuous(module_names, module_contents, template=None):
6666
from plotly.express._core import apply_default_cascade
6767

6868
args = dict(template=template)
69-
apply_default_cascade(args)
69+
apply_default_cascade(args, constructor=None)
7070

7171
sequences = [
7272
(k, v)
@@ -122,7 +122,7 @@ def _swatches_cyclical(module_names, module_contents, template=None):
122122
from plotly.express._core import apply_default_cascade
123123

124124
args = dict(template=template)
125-
apply_default_cascade(args)
125+
apply_default_cascade(args, constructor=None)
126126

127127
rows = 2
128128
cols = 4

0 commit comments

Comments
 (0)