dyngpt.pl.plot_jointplot¶
- dyngpt.pl.plot_jointplot(data1, data2, xy_ticks, ax, lims, label_names, fontsize=6, cmap_name='Blues', fill_flag=True, color='#d37166', data_nn=False)[source]¶
Plot a jointplot of two variables with kernel density estimation. Customizes axis ticks and labels.
- Args:
data1 (array-like): The first data set for the x-axis. data2 (array-like): The second data set for the y-axis. xy_ticks (list of lists): Custom tick values for the x and y axes. ax (matplotlib.axes.Axes): The axes on which to plot the jointplot. lims (list): Axis limits for the plot. label_names (list): List of labels for the x and y axes. fontsize (int, optional): Font size for the labels, defaults to 6. cmap_name (str, optional): Colormap name for KDE, defaults to “Blues”. fill_flag (bool, optional): Whether to fill the density plot, defaults to True. color (str, optional): Color for the KDE plot, defaults to “#d37166”. data_nn (bool, optional): Whether to use a neural network-derived label, defaults to False.
- Returns:
seaborn.JointGrid: The jointplot object.