def METHOD_NAME(self, workspace, figure):
    layout = (2, 1)
    figure.set_subplots(
        dimensions=workspace.display_data.dimensions, subplots=layout
    )
    figure.subplot_imshow(
        colormap="gray",
        image=workspace.display_data.x_data,
        title=self.x_name.value,
        x=0,
        y=0,
    )
    figure.subplot_imshow_labels(
        image=workspace.display_data.y_data,
        sharexy=figure.subplot(0, 0),
        title=self.y_name.value,
        x=1,
        y=0,
    )