Maps.set_shape.scatter_points#

set_shape.scatter_points(size=None, marker=None)#

Draw each datapoint as a shape with a size defined in points**2.

All arguments are forwarded to m.ax.scatter().

Parameters:
  • size (int, float, array-like or str, optional) –

    The marker size in points**2.

    If you provide an array of sizes, each datapoint will be drawn with the respective size!

  • marker (str) –

    The marker style. Can be either an instance of the class or the text shorthand for a particular marker. Some examples are:

    • ”.”, “o”, “s”, “<”, “>”, “^”, “$A^2$”

    See matplotlib.markers for more information about marker styles.