From 808d1b0d4ebf96e7f93ef836cb8fe84732a929e6 Mon Sep 17 00:00:00 2001 From: shaunwbell Date: Tue, 15 Oct 2024 10:57:49 -0700 Subject: [PATCH] seaborn ticks (#350) --- notebooks/mpl_plot_settings.py | 2 +- src/EcoFOCIpy/plots/TimeSeriesStickPlot.py | 2 +- src/EcoFOCIpy/plots/sbe_ctd_plots.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/notebooks/mpl_plot_settings.py b/notebooks/mpl_plot_settings.py index 23dc398..0a462ef 100644 --- a/notebooks/mpl_plot_settings.py +++ b/notebooks/mpl_plot_settings.py @@ -7,7 +7,7 @@ labelsize = 10 #plotstyle = 'seaborn' max_xticks = 10 -plt.style.use('seaborn-ticks') +plt.style.use('seaborn-v0_8-ticks') mpl.rcParams['svg.fonttype'] = 'none' mpl.rcParams['ps.fonttype'] = 42 #truetype/type2 fonts instead of type3 mpl.rcParams['pdf.fonttype'] = 42 #truetype/type2 fonts instead of type3 diff --git a/src/EcoFOCIpy/plots/TimeSeriesStickPlot.py b/src/EcoFOCIpy/plots/TimeSeriesStickPlot.py index 3fd2112..6be30d6 100644 --- a/src/EcoFOCIpy/plots/TimeSeriesStickPlot.py +++ b/src/EcoFOCIpy/plots/TimeSeriesStickPlot.py @@ -35,7 +35,7 @@ def __init__(self, fontsize=10, labelsize=10, plotstyle='k-.', stylesheet='bmh') The fontsize to use for labels stylesheet : str Choose a mpl stylesheet [u'seaborn-darkgrid', - u'seaborn-notebook', u'classic', u'seaborn-ticks', + u'seaborn-notebook', u'classic', u'seaborn-v0_8-ticks', u'grayscale', u'bmh', u'seaborn-talk', u'dark_background', u'ggplot', u'fivethirtyeight', u'seaborn-colorblind', u'seaborn-deep', u'seaborn-whitegrid', u'seaborn-bright', diff --git a/src/EcoFOCIpy/plots/sbe_ctd_plots.py b/src/EcoFOCIpy/plots/sbe_ctd_plots.py index 724e343..bee0c0a 100644 --- a/src/EcoFOCIpy/plots/sbe_ctd_plots.py +++ b/src/EcoFOCIpy/plots/sbe_ctd_plots.py @@ -16,7 +16,7 @@ class CTDProfilePlot(object): - def __init__(self, fontsize=10, labelsize=10, plotstyle='k-.', stylesheet='seaborn-ticks'): + def __init__(self, fontsize=10, labelsize=10, plotstyle='k-.', stylesheet='seaborn-v0_8-ticks'): """Initialize the timeseries with items that do not change. This sets up the axes and station locations. The `fontsize` and `spacing` @@ -31,7 +31,7 @@ def __init__(self, fontsize=10, labelsize=10, plotstyle='k-.', stylesheet='seabo The fontsize to use for labels stylesheet : str Choose a mpl stylesheet [u'seaborn-darkgrid', - u'seaborn-notebook', u'classic', u'seaborn-ticks', + u'seaborn-notebook', u'classic', u'seaborn-v0_8-ticks', u'grayscale', u'bmh', u'seaborn-talk', u'dark_background', u'ggplot', u'fivethirtyeight', u'seaborn-colorblind', u'seaborn-deep', u'seaborn-whitegrid', u'seaborn-bright',