Update to latest version (#1993426)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From 92b11ded669267100e3c6858578351cad3749cd0 Mon Sep 17 00:00:00 2001
|
||||
From fc48d068c9e28cdd82e93db2248ff2fa6facc986 Mon Sep 17 00:00:00 2001
|
||||
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
|
||||
Date: Wed, 27 Sep 2017 19:35:59 -0400
|
||||
Subject: [PATCH 1/3] matplotlibrc path search fix
|
||||
@@ -9,10 +9,10 @@ Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
|
||||
1 file changed, 4 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/lib/matplotlib/__init__.py b/lib/matplotlib/__init__.py
|
||||
index c3d4aaf62d..ec115cd3f5 100644
|
||||
index 71c68a3d6b..9d795f65f5 100644
|
||||
--- a/lib/matplotlib/__init__.py
|
||||
+++ b/lib/matplotlib/__init__.py
|
||||
@@ -471,7 +471,8 @@ def get_cachedir():
|
||||
@@ -473,7 +473,8 @@ def get_cachedir():
|
||||
@_logged_cached('matplotlib data path: %s')
|
||||
def get_data_path():
|
||||
"""Return the path to Matplotlib data."""
|
||||
@@ -22,7 +22,7 @@ index c3d4aaf62d..ec115cd3f5 100644
|
||||
|
||||
|
||||
def matplotlib_fname():
|
||||
@@ -491,6 +492,7 @@ def matplotlib_fname():
|
||||
@@ -493,6 +494,7 @@ def matplotlib_fname():
|
||||
is not defined)
|
||||
- On other platforms,
|
||||
- ``$HOME/.matplotlib/matplotlibrc`` if ``$HOME`` is defined
|
||||
@@ -30,7 +30,7 @@ index c3d4aaf62d..ec115cd3f5 100644
|
||||
- Lastly, it looks in ``$MATPLOTLIBDATA/matplotlibrc``, which should always
|
||||
exist.
|
||||
"""
|
||||
@@ -509,6 +511,7 @@ def matplotlib_fname():
|
||||
@@ -511,6 +513,7 @@ def matplotlib_fname():
|
||||
yield matplotlibrc
|
||||
yield os.path.join(matplotlibrc, 'matplotlibrc')
|
||||
yield os.path.join(get_configdir(), 'matplotlibrc')
|
||||
@@ -39,5 +39,5 @@ index c3d4aaf62d..ec115cd3f5 100644
|
||||
|
||||
for fname in gen_candidates():
|
||||
--
|
||||
2.29.2
|
||||
2.31.1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user