Skip to content

Commit f086163

Browse files
committed
extend setable axis plot kwargs
1 parent 6ac86e6 commit f086163

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

fooof/plts/settings.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@
2828
'linestyle' : ['ls', 'linestyle']}
2929

3030
# Plot style arguments are those that can be defined on an axis object
31-
AXIS_STYLE_ARGS = ['title', 'xlabel', 'ylabel', 'xlim', 'ylim']
31+
AXIS_STYLE_ARGS = ['title', 'xlabel', 'ylabel', 'xlim', 'ylim',
32+
'xticks', 'yticks', 'xticklabels', 'yticklabels']
3233

3334
# Line style arguments are those that can be defined on a line object
3435
LINE_STYLE_ARGS = ['alpha', 'lw', 'linewidth', 'ls', 'linestyle',

fooof/plts/style.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ def style_plot(func, *args, **kwargs):
253253
>>> from fooof.plts.style import check_style_options
254254
>>> check_style_options()
255255
Valid style arguments:
256-
Axis title, xlabel, ylabel, xlim, ylim
256+
Axis title, xlabel, ylabel, xlim, ylim, xticks, yticks, xticklabels, yticklabels
257257
Line alpha, lw, linewidth, ls, linestyle, marker, ms, markersize
258258
Collection alpha, edgecolor
259259
Custom title_fontsize, label_size, tick_labelsize, legend_size, legend_loc

0 commit comments

Comments
 (0)