def set_colorbar_label(self, field, label):
r"""
Sets the colorbar label.
Parameters
----------
field: str or tuple
The name of the field to modify the label for.
label: str
The new label
>>> plot.set_colorbar_label("density", "Dark Matter Density (g cm$^{-3}$)")
"""
self._colorbar_label[field] = label
return self
评论列表
文章目录