From b16705d0d12f5ca39dd3d509472e01ef249ceec9 Mon Sep 17 00:00:00 2001 From: Thomas A Caswell Date: Mon, 13 Mar 2017 16:31:54 -0400 Subject: [PATCH 1/2] DOC: missing API docs from #8032 --- doc/api/api_changes/2017-02-06_TAC.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 doc/api/api_changes/2017-02-06_TAC.rst diff --git a/doc/api/api_changes/2017-02-06_TAC.rst b/doc/api/api_changes/2017-02-06_TAC.rst new file mode 100644 index 000000000000..743bff8c8713 --- /dev/null +++ b/doc/api/api_changes/2017-02-06_TAC.rst @@ -0,0 +1,11 @@ +Do not clip lw when scaling dashes +`````````````````````````````````` + +Slightly change the algorithm to no longer clip the scaling factor, +thus the patterns will continue to shrink at thin line widths. If the +line width is smaller than the effective pixel size, this may result +in dashed lines turning into solid gray lines. This also required +slightly tweaking the default patterns for '--', ':', and '.-' so that +with the default line-width the final patterns would not change. + +There is no way to restore the old behavior From 8892fb28775b3096a48870cdcb8f682651c0ea22 Mon Sep 17 00:00:00 2001 From: Nelle Varoquaux Date: Thu, 16 Mar 2017 10:55:44 -0700 Subject: [PATCH 2/2] DOC small tweaks to API doc on scaling dashes --- doc/api/api_changes/2017-02-06_TAC.rst | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/doc/api/api_changes/2017-02-06_TAC.rst b/doc/api/api_changes/2017-02-06_TAC.rst index 743bff8c8713..e59932586547 100644 --- a/doc/api/api_changes/2017-02-06_TAC.rst +++ b/doc/api/api_changes/2017-02-06_TAC.rst @@ -1,11 +1,11 @@ -Do not clip lw when scaling dashes -`````````````````````````````````` +Do not clip line width when scaling dashes +`````````````````````````````````````````` -Slightly change the algorithm to no longer clip the scaling factor, -thus the patterns will continue to shrink at thin line widths. If the -line width is smaller than the effective pixel size, this may result -in dashed lines turning into solid gray lines. This also required -slightly tweaking the default patterns for '--', ':', and '.-' so that -with the default line-width the final patterns would not change. +The algorithm to scale dashes was changed to no longer clip the +scaling factor: the dash patterns now continue to shrink at thin line widths. +If the line width is smaller than the effective pixel size, this may result in +dashed lines turning into solid gray-ish lines. This also required slightly +tweaking the default patterns for '--', ':', and '.-' so that with the default +line width the final patterns would not change. -There is no way to restore the old behavior +There is no way to restore the old behavior.