Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Instrument Control
Ploty2
Commits
62259f3b
Commit
62259f3b
authored
Nov 29, 2019
by
Locatelli
Browse files
Correct bug
parent
bb5e85c0
Changes
1
Show whitespace changes
Inline
Side-by-side
src/view/mpl/Mpl.cpp
View file @
62259f3b
...
@@ -172,7 +172,7 @@ void Mpl::close(const PythonObject& figure) throw (Error) {
...
@@ -172,7 +172,7 @@ void Mpl::close(const PythonObject& figure) throw (Error) {
MplLock
lock
;
MplLock
lock
;
// Create matplotlib figure object
// Create matplotlib figure object
auto
args
=
bp
::
make_tuple
(
figure
);
auto
args
=
bp
::
make_tuple
(
figure
()
);
try
{
try
{
m_PyPlot
.
attr
(
"close"
)(
*
args
);
m_PyPlot
.
attr
(
"close"
)(
*
args
);
}
catch
(...)
{
}
catch
(...)
{
...
...
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