The tracks in the file are plotted using matplotlib.plot().
The tracks in the file are plotted using matplotlib.plot().
...
@@ -862,9 +862,11 @@ class File(h5py.File):
...
@@ -862,9 +862,11 @@ class File(h5py.File):
Args:
Args:
ax (matplotlib.axes, optional): An axes object to plot in. If None is given, a new figure is created.
ax (matplotlib.axes, optional): An axes object to plot in. If None is given, a new figure is created.
lw_distances (bool, optional): Flag to show the distances between individuals through line width.
lw_distances (bool, optional): Flag to show the distances between individuals through line width.
lw(int, optional): Line width of the tracks. Defaults to 2.
ms(int, optional): Marker size of the tracks. Defaults to 32.
figsize (Tuple[int], optional): Size of a newly created figure.
figsize (Tuple[int], optional): Size of a newly created figure.
step_size (int, optional): when using lw_distances, the track is split into sections which have a common line width. This parameter defines the length of the sections.
step_size (int, optional): when using lw_distances, the track is split into sections which have a common line width. This parameter defines the length of the sections.
c (Array[color_representation], optional): An array of colors. Each item has to be matplotlib.colors.is_color_like(item).
c (List, optional): An array of colors. Each item has to be matplotlib.colors.is_color_like(item).
cmap (matplotlib.colors.Colormap, optional): The colormap to use
cmap (matplotlib.colors.Colormap, optional): The colormap to use
skip_timesteps (int, optional): Skip timesteps in the begining of the file
skip_timesteps (int, optional): Skip timesteps in the begining of the file
max_timesteps (int, optional): Cut of timesteps in the end of the file.
max_timesteps (int, optional): Cut of timesteps in the end of the file.