#!/usr/bin/env python # coding: utf-8 # In[1]: import matplotlib as mpl import matplotlib.pyplot as plt import pandas as pd # In[4]: print(plt.style.available) # In[18]: mpl.style.use('ggplot') # In[19]: plt.plot([1, 4, 9, 16],'rs--') plt.show() # In[20]: mpl.style.use('default') # In[21]: plt.plot([1, 4, 9, 16], 'rs--') plt.show() # In[22]: mpl.style.use('seaborn-dark') # In[23]: plt.plot([1, 4, 9, 16], 'rs--') plt.show() # In[24]: mpl.style.use('seaborn') # In[25]: plt.plot([1, 4, 9, 16], 'rs--') plt.show() # In[2]: x = range(1000) y = [i ** 2 for i in x] plt.plot(x,y) plt.show(); # In[3]: get_ipython().run_line_magic('config', "InlineBackend.figure_format = 'retina'") plt.plot(x,y) plt.show(); # In[ ]: