(old_method, new_method=None)
| 568 | class FigureFactory(object): |
| 569 | @staticmethod |
| 570 | def _deprecated(old_method, new_method=None): |
| 571 | if new_method is None: |
| 572 | # The method name stayed the same. |
| 573 | new_method = old_method |
| 574 | warnings.warn( |
| 575 | "plotly.tools.FigureFactory.{} is deprecated. " |
| 576 | "Use plotly.figure_factory.{}".format(old_method, new_method) |
| 577 | ) |
| 578 | |
| 579 | @staticmethod |
| 580 | def create_2D_density(*args, **kwargs): |
no test coverage detected