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
Yori Fournier
myplotlib
Commits
c5029a34
Commit
c5029a34
authored
Sep 02, 2017
by
Yori 'AGy' Fournier
Browse files
Now working with real dataset but under th condition
that fig.datas is less than 1024 bits and that all data type are evaluable
parent
3249460e
Changes
2
Hide whitespace changes
Inline
Side-by-side
myFig_client.py
View file @
c5029a34
...
...
@@ -210,11 +210,12 @@ class MyFig_client(Figure):
# synchronized figure (server-side)
if
(
self
.
client
is
not
None
)
and
(
self
.
syncID
!=
-
1
):
try
:
# try:
if
(
True
):
datas
=
self
.
client
.
syncFigFormatRawData
(
self
.
syncID
)
except
:
print
(
SEVR
+
'The server-side figure could not format the data...'
)
return
(
False
)
#
except:
#
print(SEVR+'The server-side figure could not format the data...')
#
return(False)
for
ax
,
data
in
zip
(
self
.
get_axes
(),
datas
):
ax
.
data
=
data
...
...
serverInterface.py
View file @
c5029a34
...
...
@@ -11,7 +11,7 @@ class ServerInterface(object):
def
readData
(
self
,
ioFunction
,
dataName
,
*
args
,
**
kwargs
):
content
=
"['"
+
str
(
dataName
)
+
"', '"
+
ioFunction
.
__name__
+
"',
'
"
+
str
(
args
)
+
"
', '
"
+
str
(
kwargs
)
+
"
'
]"
content
=
"['"
+
str
(
dataName
)
+
"', '"
+
ioFunction
.
__name__
+
"',
\"
"
+
str
(
args
)
+
"
\"
,
\"
"
+
str
(
kwargs
)
+
"
\"
]"
signal
=
"("
+
"'readData'"
+
', '
+
str
(
content
)
+
')'
...
...
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