I have used scatter plot to plot a 2d lithology map but since i have very less amount of data th plot is discrete. I have three columns x,y and predicted lithology which has numbers ranging from 1 to 6. So there are six lithologies that i have plotted. Below is the code that i have used
plt.figure(figsize=[15,10])
colormap = np.array(['blue','green','pink','brown','yellow','white'])
plt.scatter(df_final['x'], df_final['y'], c=colormap[y_final-1],marker='8')
Here df_final is the data set and y_final contains the list of all the predicted lithologies from 1 to 6. Here is the result that i got using the above code
But as you can see that the plot is discrete and not a continuous plot. I want to plot the lithology as shown in the below figure enter image description here