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

This plotdigitizer cannot work in some images #17

Open
chunfang2001 opened this issue Nov 15, 2022 · 0 comments
Open

This plotdigitizer cannot work in some images #17

chunfang2001 opened this issue Nov 15, 2022 · 0 comments

Comments

@chunfang2001
Copy link

SBA_SAMARANG_S
I had getting out the line of the graph
The command I use is
plotdigitizer output/test.png -p 0,0 -p 150,0 -p 0,0 -p 0,7.5 -l 50,10 -l 100,10 -l 50,10 -l 50,160 --plot test.png

But I face this error
INFO:root:Extracting trajectories from output\test.png INFO:root:[(50, 10), (100, 10), (50, 10), (50, 160)] → origin 50, 10 INFO:root: 253.37610016420362 3.9020312040091025 Traceback (most recent call last): File "C:\Users\chunfang\anaconda3\envs\weather_nowcast\lib\runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Users\chunfang\anaconda3\envs\weather_nowcast\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "C:\Users\chunfang\anaconda3\envs\weather_nowcast\Scripts\plotdigitizer.exe\__main__.py", line 7, in <module> File "C:\Users\chunfang\anaconda3\envs\weather_nowcast\lib\site-packages\plotdigitizer\plotdigitizer.py", line 323, in main run(args) File "C:\Users\chunfang\anaconda3\envs\weather_nowcast\lib\site-packages\plotdigitizer\plotdigitizer.py", line 264, in run traj = process_image(img_) File "C:\Users\chunfang\anaconda3\envs\weather_nowcast\lib\site-packages\plotdigitizer\plotdigitizer.py", line 217, in process_image trajcolor = params_["timeseries_colors"][0] IndexError: list index out of range

Can I know what error is it? Thanks

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

1 participant