Created
December 25, 2019 07:15
-
-
Save ultimatile/f20f5e232afadd9d5259da9afbd13019 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import matplotlib.pyplot as plt | |
from sys import argv | |
from numpy.random import rand, randn | |
fig = plt.figure(figsize=(8, 6)) | |
print(plt.rcParams['font.family']) | |
plt.rcParams['font.family'] = "Harrington" | |
samples = 100 | |
x = rand(100) | |
y = rand(100) | |
ax = fig.add_subplot(111) | |
ax.scatter(x, y) | |
plt.show() | |
#from matplotlib.backends.backend_pdf import PdfPages | |
#pp = PdfPages('TvsJefff.pdf') | |
#pp.savefig(fig) | |
#pp.close() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment