Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Jan Zelenka
prasopes
Commits
dff3ecfd
Commit
dff3ecfd
authored
Sep 28, 2019
by
Yan
Browse files
Manual annotation - fix3
* fixed multiple lines issue
parent
adac2628
Changes
1
Hide whitespace changes
Inline
Side-by-side
prasopes/graphtools.py
View file @
dff3ecfd
...
...
@@ -103,7 +103,7 @@ def textedit_factory(axis, plot_data):
None
,
"Enter new annotation"
,
""
,
text
=
annotation
.
get_text
())
if
textdial
[
1
]
==
True
:
annotation
.
set_text
(
textdial
[
0
])
annotation
.
set_text
(
textdial
[
0
]
.
replace
(
'
\\
n'
,
'
\n
'
)
)
if
len
(
textdial
[
0
])
==
0
and
annotation
in
plot_data
[
'texts'
]:
plot_data
[
'texts'
].
remove
(
annotation
)
elif
annotation
in
plot_data
[
'annotation'
]:
...
...
Write
Preview
Supports
Markdown
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