Skip to content

Commit

Permalink
use default colormap
Browse files Browse the repository at this point in the history
  • Loading branch information
smorbieu committed Apr 19, 2016
1 parent 919849e commit 10481fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions coclust/utils/evaluation.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def plot_convergence(criteria, criterion_name, marker='o'):
plt.show()


def plot_confusion_matrix(cm, colormap=plt.get_cmap("viridis"), labels='012'):
def plot_confusion_matrix(cm, colormap=plt.get_cmap(), labels='012'):
conf_arr = np.array(cm)

norm_conf_arr = []
Expand Down Expand Up @@ -92,7 +92,7 @@ def plot_confusion_matrix(cm, colormap=plt.get_cmap("viridis"), labels='012'):
plt.show()


def plot_delta_kl(delta, model, colormap=plt.get_cmap("viridis"),
def plot_delta_kl(delta, model, colormap=plt.get_cmap(),
labels='012'):

delta_arr = np.round(np.array(delta), decimals=3)
Expand Down

0 comments on commit 10481fd

Please sign in to comment.