WebPlotDigitizer icon indicating copy to clipboard operation
WebPlotDigitizer copied to clipboard

Feature request: Add export data to python list

Open xtotdam opened this issue 6 years ago • 4 comments

Hi! Nice work! :+1: It would be wonderful if such data

3.5957, 7.1208
3.5968, 7.1409
3.5968, 7.0988
3.3000, 7.2851
3.3000, 7.3327
3.3000, 7.2385

could be exported as python list, I mean with brackets, nothing too complicated:

[
    [3.5957, 7.1208],
    [3.5968, 7.1409],
    [3.5968, 7.0988],
    [3.3000, 7.2851],
    [3.3000, 7.3327],
    [3.3000, 7.2385]
]

xtotdam avatar Nov 12 '17 13:11 xtotdam

Do you find reading a text file with this content easier than the CSV in Python?

ankitrohatgi avatar Nov 12 '17 14:11 ankitrohatgi

I mean not download it as a file, but format on-the-fly Like this: 8e6123b9-3325-4aab-b628-f824c2d1d156 I always copy-paste the data to Jupyter notebook to process it further and I am sure I'm not the only one :)

xtotdam avatar Nov 12 '17 16:11 xtotdam

I see... I'll think about this

ankitrohatgi avatar Nov 12 '17 16:11 ankitrohatgi

Would be wonderful!

xtotdam avatar Nov 12 '17 17:11 xtotdam