Skip to content

Commit 1ee4a18

Browse files
authored
Merge pull request #128 from sbillinge/patch_style
fix imports and news
2 parents 86d8318 + 3e5c74e commit 1ee4a18

File tree

2 files changed

+25
-2
lines changed

2 files changed

+25
-2
lines changed

Diff for: news/patch_style.rst

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
**Added:**
2+
3+
* <news item>
4+
5+
**Changed:**
6+
7+
* updated imports of bg-mpl-stylesheets for latest release of that code
8+
9+
**Deprecated:**
10+
11+
* <news item>
12+
13+
**Removed:**
14+
15+
* <news item>
16+
17+
**Fixed:**
18+
19+
* <news item>
20+
21+
**Security:**
22+
23+
* <news item>

Diff for: src/diffpy/pdfmorph/pdfplot.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616

1717
import matplotlib.pyplot as plt
1818
import numpy
19-
from bg_mpl_stylesheet.bg_mpl_stylesheet import bg_mpl_style
19+
from bg_mpl_stylesheets.styles import all_styles
2020

21-
plt.style.use(bg_mpl_style)
21+
plt.style.use(all_styles["bg_style"])
2222

2323

2424
# FIXME - make this return the figure object in the future, so several views

0 commit comments

Comments
 (0)