- 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.
推薦閱讀
- Mastering Ext JS(Second Edition)
- DevOps with Kubernetes
- TypeScript入門與實(shí)戰(zhàn)
- jQuery EasyUI網(wǎng)站開發(fā)實(shí)戰(zhàn)
- Hadoop+Spark大數(shù)據(jù)分析實(shí)戰(zhàn)
- C語言程序設(shè)計(jì)實(shí)踐教程
- QTP自動(dòng)化測(cè)試進(jìn)階
- PHP+MySQL網(wǎng)站開發(fā)項(xiàng)目式教程
- Java EE 8 Application Development
- 基于Struts、Hibernate、Spring架構(gòu)的Web應(yīng)用開發(fā)
- Instant jQuery Boilerplate for Plugins
- Java語言程序設(shè)計(jì)實(shí)用教程(第2版)
- 從零開始學(xué)算法:基于Python
- Java程序設(shè)計(jì)及應(yīng)用開發(fā)
- ArcGIS Blueprints