|
1 | 1 | """
|
2 |
| -Plotting api |
| 2 | +Plotting public API |
3 | 3 | """
|
| 4 | +from pandas.plotting._core import ( |
| 5 | + FramePlotMethods, SeriesPlotMethods, boxplot, boxplot_frame, |
| 6 | + boxplot_frame_groupby, hist_frame, hist_series) |
| 7 | +from pandas.plotting._misc import ( |
| 8 | + andrews_curves, autocorrelation_plot, bootstrap_plot, |
| 9 | + deregister as deregister_matplotlib_converters, lag_plot, |
| 10 | + parallel_coordinates, plot_params, radviz, |
| 11 | + register as register_matplotlib_converters, scatter_matrix, table) |
4 | 12 |
|
5 |
| -# flake8: noqa |
6 |
| - |
7 |
| -from pandas.plotting._misc import (scatter_matrix, radviz, |
8 |
| - andrews_curves, bootstrap_plot, |
9 |
| - parallel_coordinates, lag_plot, |
10 |
| - autocorrelation_plot) |
11 |
| -from pandas.plotting._core import boxplot |
12 |
| -from pandas.plotting._style import plot_params |
13 |
| -from pandas.plotting._tools import table |
14 |
| -try: |
15 |
| - from pandas.plotting._converter import ( |
16 |
| - register as register_matplotlib_converters) |
17 |
| - from pandas.plotting._converter import ( |
18 |
| - deregister as deregister_matplotlib_converters) |
19 |
| -except ImportError: |
20 |
| - pass |
| 13 | +__all__ = ['boxplot', 'boxplot_frame', 'boxplot_frame_groupby', 'hist_frame', |
| 14 | + 'hist_series', 'FramePlotMethods', 'SeriesPlotMethods', |
| 15 | + 'scatter_matrix', 'radviz', 'andrews_curves', 'bootstrap_plot', |
| 16 | + 'parallel_coordinates', 'lag_plot', 'autocorrelation_plot', |
| 17 | + 'table', 'plot_params', 'register_matplotlib_converters', |
| 18 | + 'deregister_matplotlib_converters'] |
0 commit comments