Skip to content

DOC: cleanup vis docs #7054

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 12 additions & 10 deletions doc/source/visualization.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,6 @@
options.display.max_rows = 15
from pandas.compat import lrange

.. note::

All calls to ``np.random`` are seeded with 123456.

.. note::

See :ref:`ecosystem <ecosystem.visualization>` for visualization libraries
that go beyond the basics included in pandas.

********
Plotting
********
Expand All @@ -47,6 +38,14 @@ All the plots in the documentation are rendered with this option set to the

pd.options.display.mpl_style = 'default'

We provide the basics in pandas to easily create decent looking plots.
See the :ref:`ecosystem <ecosystem.visualization>` section for visualization
libraries that go beyond the basics documented here.

.. note::

All calls to ``np.random`` are seeded with 123456.

.. _visualization.basic:

Basic Plotting: ``plot``
Expand Down Expand Up @@ -361,7 +360,7 @@ too dense to plot each point individually.
.. ipython:: python

df = DataFrame(randn(1000, 2), columns=['a', 'b'])
df['b'] = df['b'] = df['b'] + np.arange(1000)
df['b'] = df['b'] + np.arange(1000)

@savefig hexbin_plot.png
df.plot(kind='hexbin', x='a', y='b', gridsize=25)
Expand Down Expand Up @@ -513,6 +512,9 @@ You can create a scatter plot matrix using the

.. _visualization.kde:

Density Plot
~~~~~~~~~~~~

.. versionadded:: 0.8.0

You can create density plots using the Series/DataFrame.plot and
Expand Down