Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fa17a9f

Browse filesBrowse files
committed
Fix typo and remove ()
1 parent c27d0e4 commit fa17a9f
Copy full SHA for fa17a9f

File tree

Expand file treeCollapse file tree

1 file changed

+5
-5
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-5
lines changed

‎examples/lines_bars_and_markers/linestyles.py

Copy file name to clipboardExpand all lines: examples/lines_bars_and_markers/linestyles.py
+5-5Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Linestyle can be provided as simple as *solid* , *dotted*, *dashed*
77
or *dashdot*. Moreover, the dashing of the line can be controlled by
88
a dash tuple such as (offset, (on_off_seq)) as mentioned in
9-
`.Line2D.set_linestyle`. For e.g., ``(0, (3, 10, 1, 15))`` means
9+
`.Line2D.set_linestyle`. For example, ``(0, (3, 10, 1, 15))`` means
1010
3pt-line,10pt-space,1pt-line,15pt-space with no offset.
1111
1212
*Note*: The dash style can also be configured via `.Line2D.set_dashes`
@@ -19,10 +19,10 @@
1919
from matplotlib.transforms import blended_transform_factory
2020

2121
linestyle_str = [
22-
('solid', ('solid')), # Same as (0, ()) or '-'
23-
('dotted', ('dotted')), # Same as (0, (1, 1)) or '.'
24-
('dashed', ('dashed')), # Same as '--'
25-
('dashdot', ('dashdot'))] # Same as '-.'
22+
('solid','solid'), # Same as (0, ()) or '-'
23+
('dotted', 'dotted'), # Same as (0, (1, 1)) or '.'
24+
('dashed', 'dashed'), # Same as '--'
25+
('dashdot', 'dashdot')] # Same as '-.'
2626

2727
linestyle_tuple = [
2828
('loosely dotted', (0, (1, 10))),

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.