Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion aeon/visualisation/distances/_pairwise_distance_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,24 @@ def plot_pairwise_distance_matrix(
b,
path,
):

"""Plot a pairwise distance matrix between two time series.

Parameters
----------
distance_matrix : np.ndarray
The pairwise distance matrix to plot.
a : np.ndarray
The first time series.
b : np.ndarray
The second time series.
path : list of tuple
The path of the minimum distances.

Returns
-------
ax : matplotlib.axes.Axes
The Axes object with the plot.
"""
# Checks availability of plotting libraries
_check_soft_dependencies("matplotlib", "seaborn")
import matplotlib.pyplot as plt
Expand Down