I am trying to plot one dependent variable vs two independent variables using matplotlibs heatmap feature, however, I cannot get the image to display correctly.
(我正在尝试使用matplotlibs热图功能绘制一个因变量与两个独立变量的关系图,但是,我无法正确显示图像。)
Code and image below.(下面的代码和图像。)
plt.xticks(np.arange(0, .015, .0015))
plt.yticks(np.arange(-.0005, .0005, .00005))
plt.scatter(Dataset.Gate, Dataset.Bias, c = Dataset.Current)
(热图)
ask by blazerk translate from so