Reputation: 15
I made some graphs with scikit-plot
package, but need to customize the axes colors and sizes as well the lines width.
Here is what I already have plotted and the editable arguments of the function generating the plot:
skplt.metrics.plot_ks_statistic(y_train,
random_forest.predict_proba(x_train[["out_prncp",
"int_rate","total_rec_prnc","total_pymnt"]]),ax=None, figsize=(15,7), title_fontsize="large",
text_fontsize="medium")
plt.xlim([0,0.7])
plt.title("KS Modelo Random Forest - Treino", size=20)
plt.rc("lines", linewidth=1.5, color='r')
plt.autoscale()
As show, the param arguments of matplotlib.pyplot
to format are disregarded for some reason.
Just need to set the graph lines to 1.5 points of widths and black colors in the axis ticks
Quick excel hack to show the formating:
Upvotes: 0
Views: 220