2025-11-21: Added colours, continued manchot_plot default rc parameters

This commit is contained in:
Moussouni, Yaël
2025-11-21 20:15:08 +01:00
parent 911c925686
commit 318f93e51d
3 changed files with 120 additions and 1 deletions

View File

@@ -0,0 +1,93 @@
#!/usr/bin/env python
#[TLP:AMBER] LIMITED DISTRIBUTION: WORK IN PROGRESS
"""
manchot_plot.py
@ Author: Moussouni, Yaël (PhD student; yael.moussouni@astro.unistra.fr)
@ Institution: Université de Strasbourg, CNRS, Observatoire astronomique
de Strasbourg, UMR 7550, F-67000 Strasbourg, France
@ Date: 2025-11-21
Licence:
Python Matplotlib Style
Copyright (C) 2025 Yaël Moussouni (yael.moussouni@astro.unistra.fr)
manchot_plot.py
Copyright (C) 2025 Yaël Moussouni (yael.moussouni@astro.unistra.fr)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see www.gnu.org/licenses/.
"""
# Default palette
colour_blue = "#113847"
colour_light_blue = "#88AAC6"
colour_red = "#4D251D"
colour_yellow = "#BD9A5A"
colour_green = "#3F4738"
colour_violet = "#5F2C51"
colour_cyan = "#1D627E"
colour_orange = "#9B4D40"
colour_purple = colour_violet
# Bright palette
bright_white = "#DDDDDD"
bright_black = "#121212"
bright_blue = "#06518E"
bright_light_blue = "#009EDB"
bright_red = "#ED1C24"
bright_yellow = "#E8BD0F"
bright_green = "#3B795E"
bright_violet = "#C95BCF"
bright_cyan = "#216576"
bright_light_cyan = "#1E8C9D"
bright_orange = "#EB6D1A"
bright_purple = bright_violet
# Blue palette
blues_1 = "#D6E3EC"
blues_2 = "#88AAC6" # light blue
blues_3 = "#4A5B65"
blues_4 = "#21475A"
blues_5 = "#113847" # blue
# Grey palette
greys_1 = "#CED8DB" # white
greys_2 = "#A4B0B4"
greys_3 = "#7A888C" # grey
greys_4 = "#596569"
greys_5 = "#171F22" # black
colour_white = greys_1
colour_grey = greys_3
colour_black = greys_5
# bluegreen palette
bluegreen_1 = "#C2D0DB"
bluegreen_2 = "#6C8B90"
bluegreen_3 = "#4D6C5B"
bluegreen_4 = "#3A5662"
bluegreen_5 = "#31504B"
# tree palette
tree_1 = "#CFDED7"
tree_2 = "#806655" # brown
tree_3 = "#3F4738" # green
tree_4 = "#113847" # blue
tree_5 = "#122921" # dark green
colour_brown = tree_2
colour_dark_green = tree_5