摘要: 注意以下的区别: 画图需要用到下面:%matplotlib inline 参考链接:https://blog.csdn.net/Jaster_wisdom/article/details/75257984 阅读全文
posted @ 2018-06-24 08:36 BreakofDawn 阅读(151) 评论(0) 推荐(0) 编辑
摘要: <! done Python matplotlib绘图可视化知识点整理 参考 matplotlib 绘制精美的图表 matplotlib.pyplot.plt参数介绍 12345678 import matplotlib.pyplot as pltlabels='frogs','hogs','dog 阅读全文
posted @ 2018-06-19 16:12 BreakofDawn 阅读(563) 评论(0) 推荐(0) 编辑
摘要: 用Python和Pygame写游戏-从入门到精通(6) http://eyehere.net/2011/python-pygame-novice-professional-6/ 阅读全文
posted @ 2018-06-12 20:13 BreakofDawn 阅读(157) 评论(0) 推荐(0) 编辑
摘要: get the color value at a single pixel http://www.pygame.org/docs/ref/surface.html#pygame.Surface.get_at 针对上面补充关于RGBA Color: 参考链接: https://www.w3cplus. 阅读全文
posted @ 2018-06-11 21:04 BreakofDawn 阅读(428) 评论(0) 推荐(0) 编辑
摘要: https://www.pygame.org/docs/ref/rect.html#pygame.Rect https://blog.csdn.net/YZXnuaa/article/details/79011795 pygame.Rect.clip: crops a rectangle insid 阅读全文
posted @ 2018-06-11 20:45 BreakofDawn 阅读(153) 评论(0) 推荐(0) 编辑
摘要: https://www.pygame.org/docs/ref/event.html#pygame.event.pump 阅读全文
posted @ 2018-06-11 20:03 BreakofDawn 阅读(341) 评论(0) 推荐(0) 编辑
摘要: http://www.pygame.org/docs/ref/time.html#pygame.time.Clock 阅读全文
posted @ 2018-06-11 19:50 BreakofDawn 阅读(1458) 评论(0) 推荐(0) 编辑
摘要: 原文链接:https://blog.csdn.net/lawme/article/details/51034543 Jupyter Notebook 的快捷键 Jupyter Notebook 有两种键盘输入模式。编辑模式,允许你往单元中键入代码或文本;这时的单元框线是绿色的。命令模式,键盘输入运行 阅读全文
posted @ 2018-06-11 08:08 BreakofDawn 阅读(176) 评论(0) 推荐(0) 编辑
摘要: pygame.transform.rotate() 这里使用pygame.transform 这个模块可以满足我们的需求,这个模块包含了比如缩放,翻转等一些非常有用的函数。 pygame.transform.scale()这是一个快速的缩放函数,可以快速缩放一个图像,但是如果你试过以后就会发现他并不 阅读全文
posted @ 2018-06-08 09:47 BreakofDawn 阅读(2224) 评论(0) 推荐(0) 编辑
摘要: 问题:不小心进行了错误的操作,想要回到前一步操作的时候 ? 方案: 1、快捷键:- 撤销与反撤销操作:Ctrl + z,Ctrl + Shift + z 2、工具栏设置: 把 View 中的 Toolbar 勾上: 出现如下: 左边一对箭头是操作的撤销或前进,右边一对水平箭头(红框)是程序往前往后跳 阅读全文
posted @ 2018-06-06 08:51 BreakofDawn 阅读(14217) 评论(0) 推荐(0) 编辑