Skip to content

Commit 6ac86e6

Browse files
committed
update check_style options
1 parent d4b27d1 commit 6ac86e6

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

fooof/plts/style.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ def check_style_options():
1818
print('Valid style arguments:')
1919
for label, options in zip(['Axis', 'Line', 'Collection', 'Custom'],
2020
[AXIS_STYLE_ARGS, LINE_STYLE_ARGS,
21-
COLLECTION_STYLE_ARGS, CUSTOM_STYLE_ARGS]):
22-
print(' ', label, '\t', ', '.join(options))
21+
COLLECTION_STYLE_ARGS, CUSTOM_STYLE_ARGS]):
22+
print(' {:10s} {}'.format(label, ', '.join(options)))
2323

2424

2525
def style_spectrum_plot(ax, log_freqs, log_powers, grid=True):
@@ -252,6 +252,11 @@ def style_plot(func, *args, **kwargs):
252252
253253
>>> from fooof.plts.style import check_style_options
254254
>>> check_style_options()
255+
Valid style arguments:
256+
Axis title, xlabel, ylabel, xlim, ylim
257+
Line alpha, lw, linewidth, ls, linestyle, marker, ms, markersize
258+
Collection alpha, edgecolor
259+
Custom title_fontsize, label_size, tick_labelsize, legend_size, legend_loc
255260
"""
256261

257262
@wraps(func)

0 commit comments

Comments
 (0)