You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/source/visualization.rst
+47-3
Original file line number
Diff line number
Diff line change
@@ -651,9 +651,18 @@ be colored differently.
651
651
Colormaps
652
652
~~~~~~~~~
653
653
654
-
A potential issue when plotting a large number of columns is that it can be difficult to distinguish some series due to repetition in the default colors. To remedy this, DataFrame plotting supports the use of the ``colormap=`` argument, which accepts either a Matplotlib `colormap <http://matplotlib.org/api/cm_api.html>`__ or a string that is a name of a colormap registered with Matplotlib. A visualization of the default matplotlib colormaps is available `here <http://wiki.scipy.org/Cookbook/Matplotlib/Show_colormaps>`__.
655
-
656
-
As matplotlib does not directly support colormaps for line-based plots, the colors are selected based on an even spacing determined by the number of columns in the DataFrame. There is no consideration made for background color, so some colormaps will produce lines that are not easily visible.
654
+
A potential issue when plotting a large number of columns is that it can be
655
+
difficult to distinguish some series due to repetition in the default colors. To
656
+
remedy this, DataFrame plotting supports the use of the ``colormap=`` argument,
657
+
which accepts either a Matplotlib `colormap <http://matplotlib.org/api/cm_api.html>`__
658
+
or a string that is a name of a colormap registered with Matplotlib. A
659
+
visualization of the default matplotlib colormaps is available `here
0 commit comments