[seaborn] 07/35: added patch changeset_a9d0131442de919ec52c897b2b6478eb3b1ae85b.diff to "cherry-pick" a9d0131442de919ec52c897b2b6478eb3b1ae85b (BF: make some non-functioning doctests correct smoke tests)
Andreas Tille
tille at debian.org
Fri Jan 20 15:00:20 UTC 2017
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch debian
in repository seaborn.
commit c218b72eac6bb06fd7980f4c885e329d3b536980
Author: Yaroslav Halchenko <debian at onerussian.com>
Date: Tue Mar 25 09:42:09 2014 -0400
added patch changeset_a9d0131442de919ec52c897b2b6478eb3b1ae85b.diff to "cherry-pick" a9d0131442de919ec52c897b2b6478eb3b1ae85b (BF: make some non-functioning doctests correct smoke tests)
---
...t_a9d0131442de919ec52c897b2b6478eb3b1ae85b.diff | 64 ++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 65 insertions(+)
diff --git a/debian/patches/changeset_a9d0131442de919ec52c897b2b6478eb3b1ae85b.diff b/debian/patches/changeset_a9d0131442de919ec52c897b2b6478eb3b1ae85b.diff
new file mode 100644
index 0000000..b0aafcb
--- /dev/null
+++ b/debian/patches/changeset_a9d0131442de919ec52c897b2b6478eb3b1ae85b.diff
@@ -0,0 +1,64 @@
+From: Yaroslav Halchenko <debian at onerussian.com>
+Subject: BF: make some non-functioning doctests correct smoke tests
+
+--- a/seaborn/palettes.py
++++ b/seaborn/palettes.py
+@@ -61,15 +61,16 @@ def color_palette(name=None, n_colors=6,
+
+ Examples
+ --------
+- >>> color_palette("muted")
++ >>> p = color_palette("muted")
+
+- >>> color_palette("Blues_d", 10)
++ >>> p = color_palette("Blues_d", 10)
+
+- >>> color_palette("Set1", desat=.7)
++ >>> p = color_palette("Set1", desat=.7)
+
++ >>> import matplotlib.pyplot as plt
+ >>> with color_palette("husl", 8):
+- >>> f, ax = plt.subplots()
+- >>> ax.plot(x, y)
++ ... f, ax = plt.subplots()
++ ... ax.plot(x, y) # doctest: +SKIP
+
+ See Also
+ --------
+--- a/seaborn/rcmod.py
++++ b/seaborn/rcmod.py
+@@ -148,13 +148,14 @@ def axes_style(style=None, rc=None):
+
+ Examples
+ --------
+- >>> axes_style("whitegrid")
++ >>> st = axes_style("whitegrid")
+
+ >>> set_style("ticks", {"xtick.major.size": 8, "ytick.major.size": 8})
+
++ >>> import matplotlib.pyplot as plt
+ >>> with axes_style("white"):
+ ... f, ax = plt.subplots()
+- ... ax.plot(x, y)
++ ... ax.plot(x, y) # doctest: +SKIP
+
+ See Also
+ --------
+@@ -320,13 +321,14 @@ def plotting_context(context=None, rc=No
+
+ Examples
+ --------
+- >>> plotting_context("poster")
++ >>> c = plotting_context("poster")
+
+- >>> plotting_context("talk", {"lines.linewidth": 2})
++ >>> c = plotting_context("talk", {"lines.linewidth": 2})
+
++ >>> import matplotlib.pyplot as plt
+ >>> with plotting_context("paper"):
+ ... f, ax = plt.subplots()
+- ... ax.plot(x, y)
++ ... ax.plot(x, y) # doctest: +SKIP
+
+ See Also
+ --------
diff --git a/debian/patches/series b/debian/patches/series
index f1b994c..f393cfe 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
changeset_bf/six_imports.diff
+changeset_a9d0131442de919ec52c897b2b6478eb3b1ae85b.diff
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/seaborn.git
More information about the debian-science-commits
mailing list