Skip to content

Instantly share code, notes, and snippets.

@andrewgiessel
Last active December 12, 2015 03:38
Show Gist options
  • Save andrewgiessel/4708558 to your computer and use it in GitHub Desktop.
Save andrewgiessel/4708558 to your computer and use it in GitHub Desktop.
simple csv to svg
import matplotlib.pyplot as plt
import numpy as np
data = np.fromfile('/path/to/file.csv', sep=',')
fig = plt.figure()
plt.plot(data)
fig.savefig('/path/to/file.svg', format='svg')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment