Skip to content

Commit 3afb898

Browse files
committed
Move plotly package under plotly-package directory
1 parent 19fe225 commit 3afb898

File tree

1,308 files changed

+2057
-18
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,308 files changed

+2057
-18
lines changed
File renamed without changes.

_plotly_future_/__init__.py renamed to plotly-package/_plotly_future_/__init__.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ def _assert_plotly_not_imported():
2424

2525
warnings.filterwarnings(
2626
'default',
27-
'.*?is deprecated, please use chart_studio*',
27+
'.*?is deprecated, please use chartstudio*',
2828
DeprecationWarning
2929
)
3030

3131

3232
def _chart_studio_warning(submodule):
3333
warnings.warn(
3434
'The plotly.{submodule} module is deprecated, '
35-
'please use chart_studio.{submodule} instead'
35+
'please use chartstudio.{submodule} instead'
3636
.format(submodule=submodule),
3737
DeprecationWarning,
3838
stacklevel=2)
@@ -41,8 +41,8 @@ def _chart_studio_warning(submodule):
4141
def _chart_studio_error(submodule):
4242
raise ImportError("""
4343
The plotly.{submodule} module is deprecated,
44-
please install the chart_studio package and use the
45-
chart_studio.{submodule} module instead.
44+
please install the chartstudio package and use the
45+
chartstudio.{submodule} module instead.
4646
""".format(submodule=submodule))
4747

4848

@@ -53,7 +53,7 @@ def _chart_studio_deprecation(fn):
5353
plotly_name = '.'.join(
5454
['plotly'] + fn_module.split('.')[1:] + [fn_name])
5555
chart_studio_name = '.'.join(
56-
['chart_studio'] + fn_module.split('.')[1:] + [fn_name])
56+
['chartstudio'] + fn_module.split('.')[1:] + [fn_name])
5757

5858
msg = """\
5959
{plotly_name} is deprecated, please use {chart_studio_name}\

0 commit comments

Comments
 (0)