(cls, data, **params)
| 537 | |
| 538 | @classmethod |
| 539 | def from_data(cls, data, **params): |
| 540 | if is_geodataframe(data): |
| 541 | # cls = hvGeomExplorer |
| 542 | raise TypeError('GeoDataFrame objects not yet supported.') |
| 543 | elif is_xarray(data): |
| 544 | cls = hvGridExplorer |
| 545 | else: |
| 546 | cls = hvDataFrameExplorer |
| 547 | return cls(data, **params) |
| 548 | |
| 549 | def __panel__(self): |
| 550 | return self._layout |
no test coverage detected