Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
arbor
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Analyze
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
arbor-sim
arbor
Commits
1a6ac9f1
Unverified
Commit
1a6ac9f1
authored
4 years ago
by
Brent Huisman
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix RTD to fail building (#1177)
Remove imported dependencies in the documentation generation.
parent
c84a8416
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/gs_single_cell.rst
+1
-1
1 addition, 1 deletion
doc/gs_single_cell.rst
doc/scripts/make_images.py
+0
-14
0 additions, 14 deletions
doc/scripts/make_images.py
with
1 addition
and
15 deletions
doc/gs_single_cell.rst
+
1
−
1
View file @
1a6ac9f1
...
...
@@ -150,7 +150,7 @@ The other measurement we have is that of the potential, which we plot in step **
Arbor stores sampled quantities under :meth:`arbor.single_cell_model.traces<arbor._arbor.
single_cell_model.traces>`. You should be seeing something like this:
.. figure::
gen-
images/single_cell_model_result.svg
.. figure:: images/single_cell_model_result.svg
:width: 400
:align: center
...
...
This diff is collapsed.
Click to expand it.
doc/scripts/make_images.py
+
0
−
14
View file @
1a6ac9f1
...
...
@@ -2,8 +2,6 @@ import copy
import
svgwrite
import
math
import
inputs
import
seaborn
import
pandas
tag_colors
=
[
'
white
'
,
'
#ffc2c2
'
,
'
gray
'
,
'
#c2caff
'
]
...
...
@@ -11,16 +9,6 @@ tag_colors = ['white', '#ffc2c2', 'gray', '#c2caff']
# ############################################
#
def
dataframe_line_plot
(
input_csv
,
output_svg
):
print
(
'
generating:
'
,
output_svg
)
dataframe
=
pandas
.
read_csv
(
input_csv
,
index_col
=
0
)
axes
=
dict
(
zip
([
'
x
'
,
'
y
'
,
'
hue
'
,
'
col
'
,
'
style
'
],
dataframe
.
columns
.
values
))
# 5D seems enough for now.
seaborn
.
relplot
(
data
=
dataframe
,
kind
=
"
line
"
,
**
axes
).
savefig
(
output_svg
)
#
# ############################################
#
def
translate
(
x
,
f
,
xshift
):
return
(
f
*
x
[
0
]
+
xshift
,
-
f
*
x
[
1
])
...
...
@@ -292,8 +280,6 @@ def generate(path=''):
label_image
(
inputs
.
label_morph
,
[
inputs
.
reg_radgt5
],
path
+
'
/radiusgt_label.svg
'
)
label_image
(
inputs
.
label_morph
,
[
inputs
.
reg_radge5
],
path
+
'
/radiusge_label.svg
'
)
# dataframe_line_plot(path+'/../images/single_cell_model_result.csv', path+'/single_cell_model_result.svg')
if
__name__
==
'
__main__
'
:
generate
(
'
.
'
)
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment