I guess the image shows the mapping of some inputs (and their classes) using some dimensionality reduction technique such as PCA or TSNE. The axes could be the two highest principle components.


You could return the latent output of your VAE and use e.g. sklearn.decomposition.PCA or sklearn.manifold.TSNE 2 to reduce the dimensions.