python - Simple line plots using seaborn -


i'm trying plot roc curve using seaborn (python). matplotlib use function plot:

plt.plot(one_minus_specificity, sensitivity, 'bs--') 

where one_minus_specificity , sensitivity 2 lists of paired values.

is there simple counterparts of plot function in seaborn? had @ gallery didn't find straightforward method.

since seaborn uses matplotlib plotting can combine two. if want adopt styling of seaborn set_style function should started:

import matplotlib.pyplot plt import numpy np import seaborn sns  sns.set_style("darkgrid") plt.plot(np.cumsum(np.random.randn(1000,1))) plt.show() 

result:

enter image description here


Comments

Popular posts from this blog

java - HTTP Status 500 - An exception occurred processing JSP page /second.jsp at line 15 -

php - Using str_replace to translate a MySQL Table in html -

SQL Server - MyCTE query based on 24 hour period (next day) -