Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plot_error #389

Open
lianmengjie-sys opened this issue Nov 29, 2024 · 1 comment
Open

plot_error #389

lianmengjie-sys opened this issue Nov 29, 2024 · 1 comment

Comments

@lianmengjie-sys
Copy link

NanoPlot --summary summary.tsv --loglength -o summary

If you read this then NanoPlot 1.30.1 has crashed :-(
Please try updating NanoPlot and see if that helps...

If not, please report this issue at https://github.com/wdecoster/NanoPlot/issues
If you could include the log file that would be really helpful.
Thanks!

Traceback (most recent call last):
File "/home/gt164/miniconda3/envs/nanopore/bin/NanoPlot", line 10, in
sys.exit(main())
File "/home/gt164/miniconda3/envs/nanopore/lib/python3.6/site-packages/nanoplot/NanoPlot.py", line 97, in main
plots = make_plots(datadf, settings)
File "/home/gt164/miniconda3/envs/nanopore/lib/python3.6/site-packages/nanoplot/NanoPlot.py", line 149, in make_plots
title=settings["title"])
File "/home/gt164/miniconda3/envs/nanopore/lib/python3.6/site-packages/nanoplotter/nanoplotter_main.py", line 293, in length_plots
histogram.save(format=figformat)
File "/home/gt164/miniconda3/envs/nanopore/lib/python3.6/site-packages/nanoplotter/plot.py", line 48, in save
bbox_inches='tight')
File "/home/gt164/miniconda3/envs/nanopore/lib/python3.6/site-packages/matplotlib/figure.py", line 1573, in savefig
self.canvas.print_figure(*args, **kwargs)
TypeError: print_figure() missing 1 required positional argument: 'filename'

@wdecoster
Copy link
Owner

Hi,

Could you start with upgrading your installation? v1.30.1 is quite old.

Best,
Wouter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants