File tree 1 file changed +12
-10
lines changed
1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change 17
17
options.display.max_rows = 15
18
18
from pandas.compat import lrange
19
19
20
- .. note ::
21
-
22
- All calls to ``np.random `` are seeded with 123456.
23
-
24
- .. note ::
25
-
26
- See :ref: `ecosystem <ecosystem.visualization >` for visualization libraries
27
- that go beyond the basics included in pandas.
28
-
29
20
********
30
21
Plotting
31
22
********
@@ -47,6 +38,14 @@ All the plots in the documentation are rendered with this option set to the
47
38
48
39
pd.options.display.mpl_style = ' default'
49
40
41
+ We provide the basics in pandas to easily create decent looking plots.
42
+ See the :ref: `ecosystem <ecosystem.visualization >` section for visualization
43
+ libraries that go beyond the basics documented here.
44
+
45
+ .. note ::
46
+
47
+ All calls to ``np.random `` are seeded with 123456.
48
+
50
49
.. _visualization.basic :
51
50
52
51
Basic Plotting: ``plot ``
@@ -361,7 +360,7 @@ too dense to plot each point individually.
361
360
.. ipython :: python
362
361
363
362
df = DataFrame(randn(1000 , 2 ), columns = [' a' , ' b' ])
364
- df[' b' ] = df[' b' ] = df[ ' b ' ] + np.arange(1000 )
363
+ df[' b' ] = df[' b' ] + np.arange(1000 )
365
364
366
365
@savefig hexbin_plot.png
367
366
df.plot(kind = ' hexbin' , x = ' a' , y = ' b' , gridsize = 25 )
@@ -513,6 +512,9 @@ You can create a scatter plot matrix using the
513
512
514
513
.. _visualization.kde :
515
514
515
+ Density Plot
516
+ ~~~~~~~~~~~~
517
+
516
518
.. versionadded :: 0.8.0
517
519
518
520
You can create density plots using the Series/DataFrame.plot and
You can’t perform that action at this time.
0 commit comments