摘要: https://stackoverflow.com/questions/6434482/python-function-overloading Why Not Overloading? First one needs to understand the concept of overloading 阅读全文
posted @ 2018-12-04 11:12 andy_0212 阅读(315) 评论(0) 推荐(0) 编辑
摘要: 下面的代码,可以无阻碍地show 5个figure,相当于开启了ipython的interactive 模式 具体参见stackoverflow: in matplotlib, is there a way to pop up a figure asynchronously? 阅读全文
posted @ 2018-12-04 11:11 andy_0212 阅读(429) 评论(0) 推荐(0) 编辑
摘要: https://www.zhihu.com/question/19918532 作者:rainoftime链接:https://www.zhihu.com/question/19918532/answer/21647195来源:知乎著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。 阅读全文
posted @ 2018-12-04 09:41 andy_0212 阅读(674) 评论(0) 推荐(0) 编辑
摘要: 1 import matplotlib.pyplot as plt 2 import numpy as np 3 4 # Generate some data... 5 data = np.random.random((100, 1)) 6 # y = data.mean(axis=0) 7 # x = np.random.random(y.size) * 10 8 # x... 阅读全文
posted @ 2018-12-04 09:27 andy_0212 阅读(1959) 评论(0) 推荐(0) 编辑