Skip to content

Commit add4044

Browse files
author
Ace Pace
committed
chore: remove dead code
The future is now, has been now for quite a few years Signed-off-by: Ace Pace <[email protected]>
1 parent 231edaa commit add4044

Some content is hidden

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

44 files changed

+25
-61
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
from __future__ import absolute_import
21
from chart_studio import plotly, dashboard_objs, grid_objs, session, tools

packages/python/chart-studio/chart_studio/api/v2/__init__.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import absolute_import
2-
31
from chart_studio.api.v2 import (
42
dash_apps,
53
dashboards,

packages/python/chart-studio/chart_studio/api/v2/dash_apps.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
22
Beta interface to Plotly's /v2/dash-apps endpoints.
33
"""
4-
from __future__ import absolute_import
4+
55

66
from chart_studio.api.v2.utils import build_url, request
77

packages/python/chart-studio/chart_studio/api/v2/dashboards.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Partially complete at the moment. Only being used by
55
plotly.plotly.dashboard_ops.
66
"""
7-
from __future__ import absolute_import
7+
88

99
from chart_studio.api.v2.utils import build_url, request
1010

packages/python/chart-studio/chart_studio/api/v2/files.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""Interface to Plotly's /v2/files endpoints."""
2-
from __future__ import absolute_import
2+
33

44
from chart_studio.api.v2.utils import build_url, make_params, request
55

packages/python/chart-studio/chart_studio/api/v2/folders.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""Interface to Plotly's /v2/folders endpoints."""
2-
from __future__ import absolute_import
2+
33

44
from chart_studio.api.v2.utils import build_url, make_params, request
55

packages/python/chart-studio/chart_studio/api/v2/grids.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""Interface to Plotly's /v2/grids endpoints."""
2-
from __future__ import absolute_import
2+
33

44
from chart_studio.api.v2.utils import build_url, make_params, request
55

packages/python/chart-studio/chart_studio/api/v2/images.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""Interface to Plotly's /v2/images endpoints."""
2-
from __future__ import absolute_import
2+
33

44
from chart_studio.api.v2.utils import build_url, request
55

packages/python/chart-studio/chart_studio/api/v2/plot_schema.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""Interface to Plotly's /v2/plot-schema endpoints."""
2-
from __future__ import absolute_import
2+
33

44
from chart_studio.api.v2.utils import build_url, make_params, request
55

packages/python/chart-studio/chart_studio/api/v2/plots.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""Interface to Plotly's /v2/plots endpoints."""
2-
from __future__ import absolute_import
2+
33

44
from chart_studio.api.v2.utils import build_url, make_params, request
55

packages/python/chart-studio/chart_studio/api/v2/spectacle_presentations.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
22
Interface to Plotly's /v2/spectacle-presentations endpoint.
33
"""
4-
from __future__ import absolute_import
4+
55

66
from chart_studio.api.v2.utils import build_url, request
77

packages/python/chart-studio/chart_studio/api/v2/users.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""Interface to Plotly's /v2/files endpoints."""
2-
from __future__ import absolute_import
2+
33

44
from chart_studio.api.v2.utils import build_url, request
55

packages/python/chart-studio/chart_studio/api/v2/utils.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import absolute_import
2-
31
import requests
42
import json as _json
53
from requests.exceptions import RequestException

packages/python/chart-studio/chart_studio/config.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
This is promoted to its own module to simplify imports.
55
66
"""
7-
from __future__ import absolute_import
7+
88

99
from chart_studio import session, tools
1010

packages/python/chart-studio/chart_studio/exceptions.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
A module that contains plotly's exception hierarchy.
66
77
"""
8-
from __future__ import absolute_import
8+
99

1010
from chart_studio.api.utils import to_native_utf8_string
1111

packages/python/chart-studio/chart_studio/files.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import absolute_import
2-
31
import os
42

53
# file structure

packages/python/chart-studio/chart_studio/grid_objs/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
=========
44
55
"""
6-
from __future__ import absolute_import
6+
77

88
from chart_studio.grid_objs.grid_objs import Grid, Column

packages/python/chart-studio/chart_studio/grid_objs/grid_objs.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
=========
44
55
"""
6-
from __future__ import absolute_import
6+
77

88
import _plotly_utils.exceptions
99

packages/python/chart-studio/chart_studio/plotly/plotly.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
4. update plot_options with kwargs!
1515
1616
"""
17-
from __future__ import absolute_import
17+
1818

1919
import base64
2020
import copy

packages/python/chart-studio/chart_studio/session.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
which user they're signed in as, and plotting defaults.
66
77
"""
8-
from __future__ import absolute_import
8+
99

1010
import copy
1111

packages/python/chart-studio/chart_studio/tests/test_core/test_tools/test_configuration.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import absolute_import
2-
31
from unittest import TestCase
42

53
from chart_studio.files import CONFIG_FILE, FILE_CONTENT

packages/python/chart-studio/chart_studio/tests/test_core/test_tools/test_get_embed.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import absolute_import
2-
31
from unittest import TestCase
42

53
import pytest

packages/python/chart-studio/chart_studio/tests/test_optional/test_grid/test_grid.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
A module intended for use with Nose.
66
77
"""
8-
from __future__ import absolute_import
8+
99

1010
from unittest import TestCase
1111

packages/python/chart-studio/chart_studio/tests/test_optional/test_matplotlylib/test_plot_mpl.py

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
A module intended for use with Nose.
66
77
"""
8-
from __future__ import absolute_import
98

109

1110
import _plotly_utils.exceptions

packages/python/chart-studio/chart_studio/tests/test_plot_ly/test_api/__init__.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import absolute_import
2-
31
from requests import Response
42

53
from chart_studio.session import sign_in

packages/python/chart-studio/chart_studio/tests/test_plot_ly/test_api/test_v2/test_files.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import absolute_import
2-
31
from chart_studio.api.v2 import files
42
from chart_studio.tests.test_plot_ly.test_api import PlotlyApiTestCase
53

packages/python/chart-studio/chart_studio/tests/test_plot_ly/test_api/test_v2/test_folders.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import absolute_import
2-
31
from chart_studio.api.v2 import folders
42
from chart_studio.tests.test_plot_ly.test_api import PlotlyApiTestCase
53

packages/python/chart-studio/chart_studio/tests/test_plot_ly/test_api/test_v2/test_grids.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import absolute_import
2-
31
import json as _json
42

53
from chart_studio.api.v2 import grids

packages/python/chart-studio/chart_studio/tests/test_plot_ly/test_api/test_v2/test_images.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import absolute_import
2-
31
import json as _json
42

53
from chart_studio.api.v2 import images

packages/python/chart-studio/chart_studio/tests/test_plot_ly/test_api/test_v2/test_plot_schema.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import absolute_import
2-
31
from chart_studio.api.v2 import plot_schema
42
from chart_studio.tests.test_plot_ly.test_api import PlotlyApiTestCase
53

packages/python/chart-studio/chart_studio/tests/test_plot_ly/test_api/test_v2/test_plots.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import absolute_import
2-
31
from chart_studio.api.v2 import plots
42
from chart_studio.tests.test_plot_ly.test_api import PlotlyApiTestCase
53

packages/python/chart-studio/chart_studio/tests/test_plot_ly/test_api/test_v2/test_users.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import absolute_import
2-
31
from chart_studio.api.v2 import users
42
from chart_studio.tests.test_plot_ly.test_api import PlotlyApiTestCase
53

packages/python/chart-studio/chart_studio/tests/test_plot_ly/test_api/test_v2/test_utils.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import absolute_import
2-
31
import json as _json
42
from requests.exceptions import ConnectionError
53

packages/python/chart-studio/chart_studio/tests/test_plot_ly/test_dashboard/test_dashboard.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
A module intended for use with Nose.
66
77
"""
8-
from __future__ import absolute_import
8+
99

1010
from unittest import TestCase
1111
from _plotly_utils.exceptions import PlotlyError

packages/python/chart-studio/chart_studio/tests/test_plot_ly/test_get_figure/test_get_figure.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
A module intended for use with Nose.
66
77
"""
8-
from __future__ import absolute_import
8+
99

1010
import _plotly_utils.exceptions
1111
from chart_studio import exceptions

packages/python/chart-studio/chart_studio/tests/test_plot_ly/test_grid/test_grid.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
A module intended for use with Nose.
66
77
"""
8-
from __future__ import absolute_import
8+
99

1010
import random
1111
import string

packages/python/chart-studio/chart_studio/tests/test_plot_ly/test_image/test_image.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import absolute_import
2-
31
import imghdr
42
import tempfile
53
import os

packages/python/chart-studio/chart_studio/tests/test_plot_ly/test_meta/test_meta.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
A module intended for use with Nose.
66
77
"""
8-
from __future__ import absolute_import
8+
99

1010
import random
1111
import string

packages/python/chart-studio/chart_studio/tests/test_plot_ly/test_plotly/test_credentials.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import absolute_import
2-
31
import _plotly_utils.exceptions
42
from chart_studio import plotly as py, exceptions
53
import chart_studio.session as session

packages/python/chart-studio/chart_studio/tests/test_plot_ly/test_plotly/test_plot.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
A module intended for use with Nose.
66
77
"""
8-
from __future__ import absolute_import
8+
99

1010
import urllib
1111

packages/python/chart-studio/chart_studio/tests/test_plot_ly/test_session/test_session.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import absolute_import
2-
31
from chart_studio.tests.utils import PlotlyTestCase
42

53
from chart_studio import session

packages/python/chart-studio/chart_studio/tests/test_plot_ly/test_spectacle_presentation/test_spectacle_presentation.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
A module intended for use with Nose.
66
77
"""
8-
from __future__ import absolute_import
8+
99

1010
from unittest import TestCase
1111
from _plotly_utils.exceptions import PlotlyError

packages/python/chart-studio/chart_studio/tools.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
Functions that USERS will possibly want access to.
88
99
"""
10-
from __future__ import absolute_import
10+
1111

1212
import urllib
1313
import warnings

packages/python/chart-studio/chart_studio/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Low-level functionality NOT intended for users to EVER use.
66
77
"""
8-
from __future__ import absolute_import
8+
99

1010
import os.path
1111
import re

0 commit comments

Comments
 (0)