This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re | |
import matplotlib.patches as mpatches | |
import matplotlib.pyplot as plt | |
import numpy as np | |
from matplotlib.collections import PatchCollection | |
from pymatgen.core.periodic_table import Element | |
class PeriodicTablePlotter(object): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import seaborn as sb | |
import matplotlib.pyplot as plt | |
import matplotlib as mpl | |
from matplotlib.collections import PatchCollection | |
#### heatmap_circle() | |
## | |
## Creates a heatmap of values, with size of the circle at a given (row,col) as a second dimension | |
## uses seaborn's clustermap to provide biclustering |