Skip to content
Snippets Groups Projects
Unverified Commit 1a6ac9f1 authored by Brent Huisman's avatar Brent Huisman Committed by GitHub
Browse files

Fix RTD to fail building (#1177)

Remove imported dependencies in the documentation generation.
parent c84a8416
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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('.')
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment