Skip to content

plot_autogrow_run.py error while calculating the plot #4

@sathishdasari

Description

@sathishdasari

When I use the plot_autogrow_run.py script to plot the graph I get the following error. I used the following command given in the tutrial.
python3 autogrow4/accessory_scripts/plot_autogrow_run.py -i Run_0/ --plot_reference_lines [['Olaparib Score',-12.8,'y'],['Niraparib',-10.7,'k'],['NAD/NADH',-10.3,'purple'],['ADP-ribose',-9.3,'maroon']]

Traceback (most recent call last):
File "/home/s3dasari@NEXUS.UWATERLOO.CA/autogrow4/accessory_scripts/plot_autogrow_run.py", line 618, in
generate_figures(USER_VARS)
File "/home/s3dasari@NEXUS.UWATERLOO.CA/autogrow4/accessory_scripts/plot_autogrow_run.py", line 435, in generate_figures
run_plotter(vars, dict_of_averages, outfile)
File "/home/s3dasari@NEXUS.UWATERLOO.CA/autogrow4/accessory_scripts/plot_autogrow_run.py", line 358, in run_plotter
plt.savefig(outfile, bbox_inches="tight",
File "/usr/local/lib/python3.10/dist-packages/matplotlib/pyplot.py", line 1119, in savefig
res = fig.savefig(*args, **kwargs) # type: ignore[func-returns-value]
File "/usr/local/lib/python3.10/dist-packages/matplotlib/figure.py", line 3390, in savefig
self.canvas.print_figure(fname, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/matplotlib/backend_bases.py", line 2193, in print_figure
result = print_method(
File "/usr/local/lib/python3.10/dist-packages/matplotlib/backend_bases.py", line 2043, in
print_method = functools.wraps(meth)(lambda *args, **kwargs: meth(
TypeError: FigureCanvasSVG.print_svg() got an unexpected keyword argument 'foramt'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions