-
Book Overview & Buying
-
Table Of Contents
IPython Notebook Essentials
By :
This chapter explores matplotlib, an IPython library for production of publication-quality graphs. In this chapter, the following topics will be discussed:
plot function and setting up line widths, colors, and stylesBeing an IPython library, matplotlib consists of a hierarchy of classes, and it is possible to code using it in the usual object-oriented style. However, matplotlib also supports an interactive mode. In this mode, the graphs are constructed step-by-step, thus adding and configuring each component at a time. We lay emphasis on the second approach since it is designed for the rapid production of graphs. The object-oriented style will be explained whenever it is needed or leads to better results.
The sense in which the word interactive is used in this context is somewhat different from what is understood today. Graphs produced by matplotlib...
Change the font size
Change margin width
Change background colour