unmyelinated_results.colormap_plot

unmyelinated_results.colormap_plot(axes: axes, key: str = 'V_mem', switch_axes: bool = False, **kwgs) colorbar

Plot a spatiotemporal colormap of one recorded axon quantity.

Parameters:
  • axes (matplotlib.axes.Axes) – Target axes.

  • key (str, optional) – Result key to display.

  • switch_axes (bool, optional) – If True, swap time and position axes.

  • **kwgs (dict) – Additional keyword arguments forwarded to Axes.pcolormesh.

Returns:

Associated colorbar when plotting succeeds.

Return type:

matplotlib.colorbar.Colorbar | None