Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.measure
Commits
4af4efb6
Commit
4af4efb6
authored
Jul 04, 2018
by
Amir MOHAMMADI
Browse files
Improve the constrained layout option
parent
0d77ab60
Pipeline
#21580
failed with stage
in 1 minute and 19 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/measure/script/common_options.py
View file @
4af4efb6
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment