Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Kirill Smelkov
neo
Commits
2fd51bd0
Commit
2fd51bd0
authored
Mar 04, 2018
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
5369d45c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
go/neo/t/benchplot
go/neo/t/benchplot
+5
-7
No files found.
go/neo/t/benchplot
View file @
2fd51bd0
...
...
@@ -620,14 +620,7 @@ def main():
plotnode1
(
ax21
,
B
)
# and same in detail
print
print
ax2
.
bbox
print
ax2
.
bbox
.
get_points
()
print
'pos:'
,
ax2
.
get_position
()
bb
=
ax2
.
bbox
.
translated
(
0
,
0
)
# .anchored((0,0)) #.anchored((3000,50))
print
bb
print
bb
.
get_points
()
print
'---'
ax211
=
zoomed_inset_axes
(
ax2
,
14
*
8
,
loc
=
'upper left'
,
borderpad
=
1.0
,
bbox_to_anchor
=
(
0.33
,
1
),
bbox_transform
=
ax2
.
transAxes
)
#zlatmax = 25 # XXX hardcoded
zlatmax
=
10
# XXX hardcoded
...
...
@@ -638,6 +631,11 @@ def main():
ax211
.
set_xticklabels
([])
plotnode1
(
ax211
,
B
,
w
=
0.007
,
details
=
True
)
# mark_inset(ax21, ax211, ...)
rect
=
TransformedBbox
(
ax211
.
viewLim
,
ax21
.
transData
)
ax21
.
add_patch
(
BboxPatch
(
rect
,
fill
=
False
,
fc
=
"none"
,
ec
=
"0.5"
,
lw
=
0.5
))
ax21
.
add_patch
(
BboxConnectorPatch
(
ax211
.
bbox
,
rect
,
3
,
2
,
4
,
1
,
ec
=
"0.5"
,
lw
=
0.5
,
clip_on
=
False
))
# figure-global legend showing labels from labkey
...
...
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