ott.neural.methods.expectile_neural_dual.ENOTPotentials.plot_ot_map#
- ENOTPotentials.plot_ot_map(source, target, samples=None, forward=True, ax=None, scatter_kwargs=None, legend_kwargs=None)#
Plot data and learned optimal transport map.
- Parameters:
source – samples from the source measure
target – samples from the target measure
samples – extra samples to transport, either
source
(ifforward
) ortarget
(if notforward
) by default.forward – use the forward map from the potentials if
True
, otherwise use the inverse map.ax – axis to add the plot to
scatter_kwargs – additional kwargs passed into
scatter()
legend_kwargs – additional kwargs passed into
legend()
- Returns:
Figure and axes.