punched(cut=None, name=None, **kwargs)¶
Return a version of the colormap with the center “punched out”. This is great for making the transition from “negative” to “positive” in a diverging colormap is more distinct.
cut (float, optional) – The proportion to cut from the center of the colormap. For example,
center=0.1cuts the central 10%%.
name (str, optional) – The name of the new colormap. Default is
self.name + '_punched'.