diff --git a/news/patch_style.rst b/news/patch_style.rst new file mode 100644 index 00000000..5e697103 --- /dev/null +++ b/news/patch_style.rst @@ -0,0 +1,23 @@ +**Added:** + +* + +**Changed:** + +* updated imports of bg-mpl-stylesheets for latest release of that code + +**Deprecated:** + +* + +**Removed:** + +* + +**Fixed:** + +* + +**Security:** + +* diff --git a/src/diffpy/pdfmorph/pdfplot.py b/src/diffpy/pdfmorph/pdfplot.py index 8b64c1d9..57478ac9 100644 --- a/src/diffpy/pdfmorph/pdfplot.py +++ b/src/diffpy/pdfmorph/pdfplot.py @@ -16,9 +16,9 @@ import matplotlib.pyplot as plt import numpy -from bg_mpl_stylesheet.bg_mpl_stylesheet import bg_mpl_style +from bg_mpl_stylesheets.styles import all_styles -plt.style.use(bg_mpl_style) +plt.style.use(all_styles["bg_style"]) # FIXME - make this return the figure object in the future, so several views