diff --git a/plotly/tests/test_optional/test_ipython/test_embed.py b/plotly/tests/test_optional/test_ipython/test_embed.py index 417f0c9babc..587b3f20a8e 100644 --- a/plotly/tests/test_optional/test_ipython/test_embed.py +++ b/plotly/tests/test_optional/test_ipython/test_embed.py @@ -5,13 +5,14 @@ import threading import six import unittest +from unittest import skip version = six.sys.version_info[:2] # need this for conditional testing # unittest `skipIf` not supported in 2.6 and IPython not supported in 2.6/3.2 if version < (2, 7) or (2, 7) < version < (3, 3): pass else: - + @skip class TestPlotlyDisplay(unittest.TestCase): def setUp(self): diff --git a/plotly/tools.py b/plotly/tools.py index 59b9f5fd03c..85ea9644cec 100644 --- a/plotly/tools.py +++ b/plotly/tools.py @@ -1230,34 +1230,3 @@ def __init__(self, url, width, height): def _repr_html_(self): return self.embed_code - - def _repr_svg_(self): - url = self.resource + ".svg" - res = requests.get(url) - if six.PY3: - cont = res.content.decode('utf-8', 'replace') - else: - cont = res.content - return cont - - def _repr_png_(self): - url = self.resource + ".png" - res = requests.get(url) - cont = res.content - return cont - - def _repr_pdf_(self): - url = self.resource + ".pdf" - res = requests.get(url) - cont = res.content - if six.PY3: - cont = res.content.decode('utf-8', 'replace') - else: - cont = res.content - return cont - - def _repr_jpeg_(self): - url = self.resource + ".jpeg" - res = requests.get(url) - cont = res.content - return cont diff --git a/plotly/version.py b/plotly/version.py index f3df7f04b75..008e8016fb1 100644 --- a/plotly/version.py +++ b/plotly/version.py @@ -1 +1 @@ -__version__ = '1.6.5' +__version__ = '1.6.6'