dilawar / PlotDigitizer

A Python utility to digitize plots.
GNU General Public License v3.0
122 stars 23 forks source link

Dark background not allowed #13

Open yewalenikhil65 opened 2 years ago

yewalenikhil65 commented 2 years ago

It seems dark background is also not allowed.. Unfortunately, that's unavoidable for me

nikhil@starwars:~/HPC_aneurysm/post_process_utils$ plotdigitizer UNN.JPG -p 0,0 -p 5,0 -p 0,50
2022-10-23 20:33:21.225 | WARNING  | plotdigitizer.plotdigitizer:run:252 - Either the location of data-points are not specified or their numbers don't match with given datapoints. Asking user...
2022-10-23 20:33:43.258 | ERROR    | plotdigitizer.plotdigitizer:_find_trajectory_colors:187 - I computed that background is 'dark' which is unacceptable to me.
dilawar commented 2 years ago

Hi @yewalenikhil65, you can try again by inverting the colors of your image. If you post the sample image in the issue, I may have a look.