|
10 | 10 | import numpy as np
|
11 | 11 | import pandas as pd
|
12 | 12 |
|
13 |
| -from .facetgrid import FacetGrid |
| 13 | +from .facetgrid import _easy_facetgrid |
14 | 14 | from .utils import (
|
15 | 15 | _add_colorbar, _ensure_plottable, _infer_interval_breaks, _infer_xy_labels,
|
16 | 16 | _interval_to_double_bound_points, _interval_to_mid_points,
|
@@ -102,26 +102,6 @@ def _infer_line_data(darray, x, y, hue):
|
102 | 102 | return xplt, yplt, hueplt, xlabel, ylabel, huelabel
|
103 | 103 |
|
104 | 104 |
|
105 |
| -# def _convert_cftime_data(values): |
106 |
| -# converted = [CalendarDateTime(v, v.calendar) for v in values] |
107 |
| -# return converted |
108 |
| - |
109 |
| - |
110 |
| -# def _convert_all_cftime(da): |
111 |
| -# try: |
112 |
| -# from cftime import datetime as cftime_datetime |
113 |
| -# except ImportError: |
114 |
| -# raise ImportError('cftime package missing') |
115 |
| -# da = da.copy() |
116 |
| -# # find the dim that has a cftime datatype |
117 |
| -# dims = set(da.dims) |
118 |
| -# cftime_dims = [d for d in dims if isinstance(da[d].data.ravel()[0], |
119 |
| -# cftime_datetime)] |
120 |
| -# for cd in cftime_dims: |
121 |
| -# da[cd].data = _convert_cftime_data(da[cd].data) |
122 |
| -# return da |
123 |
| - |
124 |
| - |
125 | 105 | def plot(darray, row=None, col=None, col_wrap=None, ax=None, hue=None,
|
126 | 106 | rtol=0.01, subplot_kws=None, **kwargs):
|
127 | 107 | """
|
|
0 commit comments