Skip to content

Commit

Permalink
seaborn ticks (#350)
Browse files Browse the repository at this point in the history
  • Loading branch information
shaunwbell authored Oct 15, 2024
1 parent 1ba1eac commit 808d1b0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion notebooks/mpl_plot_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/EcoFOCIpy/plots/TimeSeriesStickPlot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
4 changes: 2 additions & 2 deletions src/EcoFOCIpy/plots/sbe_ctd_plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand All @@ -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',
Expand Down

0 comments on commit 808d1b0

Please sign in to comment.