pygmt.Figure.histogram

Figure.histogram(table, **kwargs)

Plots a histogram, and can read data from a file or list, array, or dataframe.

Full option list at https://docs.generic-mapping-tools.org/latest/histogram.html

Aliases:

  • A = horizontal

  • B = frame

  • C = cmap

  • D = annotation

  • F = center

  • G = fill

  • J = projection

  • JZ = zscale

  • L = extreme_values

  • N = normal_dist

  • Qr = cumulative

  • R = region

  • S = stairs

  • T = interval

  • U = logo

  • V = verbose

  • W = pen

  • X = xshift

  • Y = yshift

  • Z = type

  • p = perspective