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

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -