SizedMesh#

SizedMesh is a plotter that create a mesh plot with different sizes of markers.

from marsilea.plotter import SizedMesh
import numpy as np
import matplotlib.pyplot as plt

_, ax = plt.subplots()
data = np.random.randint(0, 10, (10, 10))
SizedMesh(data).render(ax)
plot sized mesh

Total running time of the script: (0 minutes 0.480 seconds)

Gallery generated by Sphinx-Gallery