Commit 40a4b9b9 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI

Merge branch 'fixes' into 'master'

Improve the constrained layout option

See merge request !84
parents 0d77ab60 4af4efb6
Pipeline #21630 failed with stages
in 24 minutes and 41 seconds
......@@ -136,8 +136,8 @@ def const_layout_option(dflt=True, **kwargs):
plt.rcParams['figure.constrained_layout.use'] = value
return value
return click.option(
'-Y', '--clayout/--no-clayout', default=dflt, show_default=True,
help='(De)Activate constrained layout',
'-Y/-nY', '--clayout/--no-clayout', default=dflt,
show_default=True, help='(De)Activate constrained layout',
callback=callback, **kwargs)(func)
return custom_layout_option
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment