File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ it is fully controllable down to basic elements and includes a module `pylab` th
24
24
(designed to feel like MATLAB plotting, if you happen to have done that before).
25
25
26
26
The Matplotlib library can be imported using any of the import techniques we have seen. As Pandas is generally imported
27
- with ` import Pandas as pd ` , you will find that ` matplotlib ` is most commonly imported with ` import matplotlib as plt ` where 'plt' is the alias.
27
+ with ` import pandas as pd ` , you will find that ` matplotlib ` is most commonly imported with ` import matplotlib as plt ` where 'plt' is the alias.
28
28
29
29
In addition to importing the library, in a Jupyter notebook environment we need to tell Jupyter that when we produce a
30
30
graph, we want it to be display the graph in a cell in the notebook just like any other results. To do this we use the ` %matplotlib inline ` directive.
@@ -38,12 +38,6 @@ and advanced plot types. One of its most useful features is formatting.
38
38
The ` pandas ` library contains very tight integration with ` matplotlib ` . There are functions in ` pandas ` that
39
39
automatically call ` matplotlib ` functions to produce graphs.
40
40
41
- Other graphical libraries available from within Python are for example ` plotnine ` (a ggplot2 realisation for python)
42
- and ` seaborn ` . [ Seaborn] ( https://seaborn.pydata.org ) has some very powerful features and advanced plot types.
43
- One of its most useful features is formatting.
44
-
45
- ## Plotting with Pandas
46
-
47
41
To plot with ` pandas ` we have to import it as we have done in past episodes.
48
42
To tell Jupyter that when we produce a graph we want it to be displayed in a cell in the notebook just like any other results,
49
43
we use the ` %matplotlib inline ` directive. Without that we need to do a ` show() ` command.
You can’t perform that action at this time.
0 commit comments