Skip to content

Commit 15905ce

Browse files
authored
Merge pull request #6547 from tacaswell/sty_tweak_dot_pattern
API: change the dot patterns
2 parents b8baf04 + 13b8c91 commit 15905ce

File tree

6 files changed

+2006
-4
lines changed

6 files changed

+2006
-4
lines changed

lib/matplotlib/lines.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def _get_dash_pattern(style):
6868
def _scale_dashes(offset, dashes, lw):
6969
if rcParams['_internal.classic_mode']:
7070
return offset, dashes
71-
scale = max(1.0, lw)
71+
scale = max(2.0, lw)
7272
scaled_offset = scaled_dashes = None
7373
if offset is not None:
7474
scaled_offset = offset * scale

lib/matplotlib/rcsetup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -901,7 +901,7 @@ def validate_hist_bins(s):
901901
'lines.solid_capstyle': ['projecting', validate_capstyle],
902902
'lines.dashed_pattern': [[2.8, 1.2], validate_nseq_float()],
903903
'lines.dashdot_pattern': [[4.8, 1.2, 0.8, 1.2], validate_nseq_float()],
904-
'lines.dotted_pattern': [[1.2, 0.6], validate_nseq_float()],
904+
'lines.dotted_pattern': [[1.1, 1.1], validate_nseq_float()],
905905

906906
# marker props
907907
'markers.fillstyle': ['full', validate_fillstyle],
Binary file not shown.
26.1 KB
Loading

0 commit comments

Comments
 (0)