- 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.
推薦閱讀
- Java 開發從入門到精通(第2版)
- PostgreSQL Cookbook
- CKA/CKAD應試教程:從Docker到Kubernetes完全攻略
- Apache Mesos Essentials
- Responsive Web Design by Example
- 劍指Java:核心原理與應用實踐
- Getting Started with Greenplum for Big Data Analytics
- 深入理解Android:Wi-Fi、NFC和GPS卷
- 編程與類型系統
- Java圖像處理:基于OpenCV與JVM
- ASP.NET Web API Security Essentials
- Android Sensor Programming By Example
- Test-Driven iOS Development with Swift
- LabVIEW入門與實戰開發100例(第4版)
- Mastering XenApp?