Skip to content

Instantly share code, notes, and snippets.

@michelkana
Last active July 17, 2019 21:08
Show Gist options
  • Save michelkana/52c15951449550e505f8f0381113a248 to your computer and use it in GitHub Desktop.
Save michelkana/52c15951449550e505f8f0381113a248 to your computer and use it in GitHub Desktop.
import pandas as pd
import matplotlib.pyplot as plt
# plot one hum data
one_hump_df = pd.read_csv('https://raw.githubusercontent.com/michelkana/medium/master/data/one_hump_df.csv')
# plot data
plt.scatter(one_hump_df.x, one_hump_df.y, lw=0.5)
plt.xlabel('$x$', fontsize=10)
plt.ylabel('$y$', fontsize=10)
plt.tick_params(labelsize=10)
plt.legend(fontsize=10, loc='best')
plt.title('one hump data')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment