import plottools.colors as ptc
from plottools.axes import labelaxes_params


SAVE_FOLDER = "./thesis/figures/"

SAVE_FOLDER_FIGURES = "./figures/analysis/"
SAVE_FOLDER_PREANALYSIS = "./temp/"

FIG_SIZE_SMALL = (2, 2)
FIG_SIZE_MEDIUM = (4, 4)
FIG_SIZE_LARGE = (6, 6)
FIG_SIZE_SMALL_WIDE = (4, 2)
FIG_SIZE_SMALL_EXTRA_WIDE = (6, 3)
FIG_SIZE_MEDIUM_WIDE = (6, 4)
FIG_SIZE_LARGE_HIGH = (6, 8)


""" Muted colors. """
# from git bendalab/plottools
colors_muted = ptc.colors_muted


COLOR_DATA = "C0"  # '#0020C075'    # ptc.colors_vivid["blue"] with alpha=50
COLOR_DATA_f0 = '#C02717'   # colors_muted["red"]
COLOR_DATA_finf = '#0020C0'  # ptc.colors_vivid["blue"]

COLOR_MODEL = "C1"  # "#F7801775"       # colors_muted["orange"] with alpha=75
COLOR_MODEL_f0 = "C1"  # "#F7801775"    # colors_muted["orange"]
COLOR_MODEL_finf = "#30D700"    # ptc.colors_vivid["green"]

f0_marker = (3, 0, 0)  # "^"
finf_marker = (4, 0, 0)  # "s"


def set_figure_labels(xoffset="auto", yoffset='auto'):
    labelaxes_params(xoffs=xoffset, yoffs=yoffset, labels='A',
                     font=dict(size=16, family='serif'))