From 0a6e84d36edf884aff0bba03dcff8ebb78f1b623 Mon Sep 17 00:00:00 2001 From: Antony Lee Date: Sat, 7 May 2016 17:14:46 -0700 Subject: [PATCH] Fix canonical name for "None" linestyle. The canonical "empty" linestyle is "None", not "none". The previous implementation would raise an error after running plot([1, 2], ls="none") and opening the figure options editor. --- lib/matplotlib/backends/qt_editor/figureoptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/matplotlib/backends/qt_editor/figureoptions.py b/lib/matplotlib/backends/qt_editor/figureoptions.py index 9285257ed2ba..0cc3ec3f5354 100644 --- a/lib/matplotlib/backends/qt_editor/figureoptions.py +++ b/lib/matplotlib/backends/qt_editor/figureoptions.py @@ -30,7 +30,7 @@ def get_icon(name): '--': 'Dashed', '-.': 'DashDot', ':': 'Dotted', - 'none': 'None', + 'None': 'None', } DRAWSTYLES = {'default': 'Default', pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy