FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat: use bg-mpl-stylesheets colors in plots by sbillinge · Pull Request #269 · diffpy/diffpy.pdfgui · GitHub

Repository navigation

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .py  (1) .rst  (1) All 2 file types selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
23 changes: 23 additions & 0 deletions news/colors.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

double checked:

bg_blue = "#0B3C5D"
bg_red = "#B82601"
bg_green = "#1C6B0A"

lgtm!

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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

Back | FazBrowse Home | New Git URL