Skip to content

Seaborn - plot matrix #225

@junxnone

Description

@junxnone
image image image image

Brief

import matplotlib.pyplot as plt
import seaborn as sns

f, ax = plt.subplots(figsize=(5, 5))
ax = sns.heatmap(np.random.randint(0,10,(5,5)), annot=True, fmt="d",cbar=False)
without cbar with cbar
image image
  • float data
ax = sns.heatmap(np.random.randint(0,10,(5,5)) * 0.5, annot=True, fmt=".1f",cbar=False)

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions