- Matplotlib for Python Developers
- Aldrin Yim Claire Chung Allen Yu
- 183字
- 2021-08-27 18:48:13
Conventions used
There are a number of text conventions used throughout this book.
CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "Another parameter for tuning is dash_capstyle."
A block of code is set as follows:
import matplotlib.pyplot as plt
plt.figure(figsize=(4,4))
x = [0.1,0.3]
plt.pie(x)
plt.show()
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
self.SetSize((500, 550)) self.button_1 = wx.Button(self, wx.ID_ANY, "button_1")
##Code being added*** self.Bind(wx.EVT_BUTTON, self.__updat_fun, self.button_1) #Setting up the figure, canvas and axes
Any command-line input or output is written as follows:
python3 first_gtk_example.py
Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "Select Qt in Files and Classes and Qt Designer Form in the middle panel."
Warnings or important notes appear like this.
Tips and tricks appear like this.
推薦閱讀
- FuelPHP Application Development Blueprints
- 在最好的年紀學Python:小學生趣味編程
- C#編程入門指南(上下冊)
- Python Game Programming By Example
- Vue.js 3.0源碼解析(微課視頻版)
- Hands-On Full Stack Development with Go
- Arduino家居安全系統構建實戰
- iOS自動化測試實戰:基于Appium、Python與Pytest
- R用戶Python學習指南:數據科學方法
- 小程序從0到1:微信全棧工程師一本通
- Go語言從入門到精通
- Drupal 8 Development:Beginner's Guide(Second Edition)
- The Statistics and Calculus with Python Workshop
- Xamarin Cross-Platform Development Cookbook
- IBM DB2 9.7 Advanced Application Developer Cookbook