[英]blank plot of array with matplotlib
I am tinkering around with a multi-output machine learning problem that outputs an array, why wont this plot?我正在修补一个输出数组的多输出机器学习问题,为什么这个 plot 不会? matplotlib just shows me a blank plot... Thanks for any tips
matplotlib 只显示空白 plot...感谢任何提示
What is shown if it makes a difference is my data is , dtype=float32
如果有所不同,显示的是我的数据是
, dtype=float32
import matplotlib.pyplot as plt
%matplotlib inline
arr2 = ([[0.68923926, 0.24089244, 5.7309055 , 5.577871 , 6.3931932 ,
5.2483587 , 1.9924439 , 7.486565 , 4.967933 , 7.738652 ,
4.3851805 , 8.475717 , 4.4674554 , 6.0132623 , 6.9747496 ,
2.3741233 , 2.408701 , 2.114421 , 3.6028085 , 8.069426 ,
4.0510483 , 1.4063461 , 1.205783 , 1.4228263 ]])
plt.plot(arr2)
plt.show()
screenshot:截屏:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.