You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+10
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file.
3
3
This project adheres to [Semantic Versioning](http://semver.org/).
4
4
5
5
6
+
## [5.7.0] - UNRELEASED
7
+
8
+
### Added
9
+
- added `pattern_shape` options to `px.area()`[#3668](https://github.com/plotly/plotly.py/issues/3668)
10
+
11
+
### Updated
12
+
- Updated Plotly.js to from version 2.9.0 to version 2.11.1. See the [plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/master/CHANGELOG.md#2111----2022-03-15) for more information. Notable changes include:
13
+
- Add `fillpattern` options to `scatter` trace
14
+
- Various JS-specific improvements such as MathJax 3.0 support
Copy file name to clipboardExpand all lines: doc/python/pattern-hatching-texture.md
+15-7
Original file line number
Diff line number
Diff line change
@@ -5,10 +5,10 @@ jupyter:
5
5
text_representation:
6
6
extension: .md
7
7
format_name: markdown
8
-
format_version: '1.2'
9
-
jupytext_version: 1.4.2
8
+
format_version: '1.3'
9
+
jupytext_version: 1.13.7
10
10
kernelspec:
11
-
display_name: Python 3
11
+
display_name: Python 3 (ipykernel)
12
12
language: python
13
13
name: python3
14
14
language_info:
@@ -20,7 +20,7 @@ jupyter:
20
20
name: python
21
21
nbconvert_exporter: python
22
22
pygments_lexer: ipython3
23
-
version: 3.7.7
23
+
version: 3.9.7
24
24
plotly:
25
25
description: How to use patterns (also known as hatching or texture) with bar
26
26
charts.
@@ -36,16 +36,16 @@ jupyter:
36
36
37
37
*New in v5.0*
38
38
39
-
[Bar charts](/python/bar-charts/), [histograms](/python/histograms/) and [polar bar charts](/python/wind-rose-charts/) have large markers which support not only a fill color, but also an optional **pattern** (also known as "hatching" or "texture"). This can be used for a variety of reasons:
39
+
[Bar charts](/python/bar-charts/), [histograms](/python/histograms/), [polar bar charts](/python/wind-rose-charts/)and [area charts](/python/filled-area-plots/)have large markers or areas which support not only a fill color, but also an optional **pattern** (also known as "hatching" or "texture"). This can be used for a variety of reasons:
40
40
41
41
* to double-encode variables (i.e. using both color and pattern) to improve accessibility for visually-impaired end-users
42
42
* to encode an additional variable beyond just using color
43
43
* to make charts that are easier to print in black and white
44
44
45
45
46
-
### Patterned Bar Charts with Plotly Express
46
+
### Patterned Charts with Plotly Express
47
47
48
-
the `px.bar()`, `px.histogram()`and `px.bar_polar()` functions support the `pattern_shape` argument. In the chart below, we double-encode `nation` using color and pattern:
48
+
the `px.bar()`, `px.histogram()`, `px.bar_polar()`and `px.area()` functions support the `pattern_shape` argument. In the chart below, we double-encode `nation` using color and pattern:
In the chart below we use `px.histogram()` instead of `px.bar()` to aggregate multiple values together, and encode one variable (sex) using both color and x-position and another (smoker) using patterns:
0 commit comments