Getting Started
User Guide
Reference Guide
Developer
Plot 2D heatmap showing time spent in each location.
bins (int) – Number of bins for 2D histogram. Default 50.
cmap (str) – Matplotlib colormap name. Default ‘hot’.
**kwargs – Additional arguments passed to plt.imshow
Heatmap axes
matplotlib.axes.Axes
Example
>>> ax = df.traja.plot_heatmap(bins=30) >>> plt.show()