Skip to content

Commit

Permalink
Merge pull request #269 from sbillinge/colors
Browse files Browse the repository at this point in the history
feat: use bg-mpl-stylesheets colors in plots
  • Loading branch information
sbillinge authored Feb 6, 2025
2 parents ce00937 + 28de205 commit 64d9b57
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 3 deletions.
23 changes: 23 additions & 0 deletions news/colors.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
**Added:**

* <news item>

**Changed:**

* Plots now use colors from the billinge-group matplotlib stylesheet, bg-mpl-stylesheets

**Deprecated:**

* <news item>

**Removed:**

* <news item>

**Fixed:**

* <news item>

**Security:**

* <news item>
6 changes: 3 additions & 3 deletions src/diffpy/pdfgui/gui/extendedplotframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,9 +268,9 @@ def __translateStyles(self, style):
"triangle": "^",
}
colorDict = {
"blue": "b",
"green": "g",
"red": "r",
"blue": "#0B3C5D",
"green": "#1C6B0A",
"red": "#B82601",
"cyan": "c",
"magenta": "m",
"yellow": "y",
Expand Down

0 comments on commit 64d9b57

Please sign in to comment.