- Mastering matplotlib
- Duncan M. McGreggor
- 160字
- 2021-07-16 14:11:20
Advanced plots – a preview
To give a taste of what's to come, let's start up a matplotlib IPython Notebook and look at an example. You will need to download the example from a GitHub repository first:
$ git clone https://github.com/masteringmatplotlib/preview.git $ cd preview
You only need to do the following in order to bootstrap an environment with all the notebook dependencies and start up the notebook server:
$ make
This will do several things for you automatically, some of which are as follows:
- Clone a support repository holding various
include
files - Create a Python virtual environment
- Install matplotlib and other scientific computing Python modules into this virtual environment
- Start an IPython Notebook server that runs on local host
- Open a browser window and load the
preview
notebook in it
In this browser window, you can run the code yourself by selecting each code section and hitting the Shift and Enter keys to execute it. Let's go through an example.
推薦閱讀
- Apache ZooKeeper Essentials
- Vue.js 2 and Bootstrap 4 Web Development
- JavaScript+jQuery開發實戰
- Learning Linux Binary Analysis
- Neo4j Essentials
- 精通Python設計模式(第2版)
- C語言程序設計同步訓練與上機指導(第三版)
- R Deep Learning Cookbook
- Python算法指南:程序員經典算法分析與實現
- Node.js:來一打 C++ 擴展
- Mastering Adobe Captivate 7
- PHP Microservices
- Qt 5.12實戰
- Web程序設計與架構
- Isomorphic JavaScript Web Development