Skip to content

Commit 940f25b

Browse files
Merge branch 'master' into fix/pd_perf_issue
2 parents d4955b1 + 6f519c8 commit 940f25b

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

packages/python/plotly/plotly/tests/test_io/test_renderers.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -388,10 +388,8 @@ def test_missing_webbrowser_module(fig1):
388388
"""
389389
Assert that no errors occur if the webbrowser module is absent
390390
"""
391-
try:
392-
import builtins
393-
except ImportError:
394-
import __builtin__ as builtins
391+
import builtins
392+
395393
realimport = builtins.__import__
396394

397395
def webbrowser_absent_import(name, globals, locals, fromlist, level):

release.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,8 @@ start by doing it first if not. Then merge `master` into `doc-prod` to deploy th
128128
to features in the release.
129129
3. in a clone of the [`graphing-library-docs` repo](https://github.com/plotly/graphing-library-docs):
130130
1. bump the version of Plotly.py in `_data/pyversion.json`
131-
2. bump the version of Plotly.js with `cd _data && python get_plotschema.py <PLOTLY.JS VERSION>` fixing any errors that come up
131+
2. bump the version of Plotly.js with `cd _data && python get_plotschema.py <PLOTLY.JS VERSION>` fixing any errors that come up.
132+
- If Plotly.js contains any new traces or trace or layout attributes, you'll get a warning `“missing key in attributes: <attribute-name>`. To resolve, add the attribute to the relevant section in `/_data/orderings.json` in the position you want it to appear in the reference docs.
132133
3. rebuild the Algolia `schema` index with `ALGOLIA_API_KEY=<key> make update_ref_search`
133134
4. Rebuild the Algolia `python` index with `ALGOLIA_API_KEY=<key> make update_python_search`
134135
5. Commit and push the changes to `master` in that repo

0 commit comments

Comments
 (0)