Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 626e157

Browse filesBrowse files
publish IPYNB and strip nbconvert colors
1 parent 2aebcaf commit 626e157
Copy full SHA for 626e157

File tree

Expand file treeCollapse file tree

3 files changed

+11
-2
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+11
-2
lines changed

‎.circleci/config.yml

Copy file name to clipboardExpand all lines: .circleci/config.yml
+9Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,15 @@ jobs:
440440
git push --force git@github.com:plotly/plotly.py-docs.git master:built
441441
rm -rf .git
442442
cd ../..
443+
cd build/ipynb
444+
git init
445+
git config user.name plotlydocbot
446+
git config user.email accounts@plot.ly
447+
git add *
448+
git commit -m "build of https://github.com/plotly/plotly.py/commit/${CIRCLE_SHA1}"
449+
git push --force git@github.com:plotly/plotly.py-docs.git master:built_ipynb
450+
rm -rf .git
451+
cd ../..
443452
fi
444453
tar -zcf build/html.tgz build/html
445454
rm -rf build/html build/ipynb

‎doc/Makefile

Copy file name to clipboardExpand all lines: doc/Makefile
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ $(HTML_DIR)/2019-07-03-%.html: $(IPYNB_DIR)/%.ipynb
4040
@jupyter nbconvert $< --to html --template nb.tpl \
4141
--ExecutePreprocessor.timeout=600\
4242
--output-dir $(HTML_DIR) --output 2019-07-03-$*.html \
43-
--execute > $(FAIL_DIR)/$* 2>&1 && rm -f $(FAIL_DIR)/$*
43+
--execute 2>&1 | sed -r "s/\x1B\[([0-9]{1,3}(;[0-9]{1,2})?)?[mGK]//g" > $(FAIL_DIR)/$* && rm -f $(FAIL_DIR)/$*
4444

4545

4646
$(REDIR_DIR)/2019-07-03-redirect-next-%.html: $(IPYNB_DIR)/%.ipynb

‎doc/python/2d-histogram-contour.md

Copy file name to clipboardExpand all lines: doc/python/2d-histogram-contour.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Plotly Express density contours can be [continuously-colored](/python/colorscale
7676
import plotly.express as px
7777
df = px.data.tips()
7878

79-
fig = px.density_contour(df, x="total_bill", y="tip")
79+
fig = px.density_contourfff(df, x="total_bill", y="tip")
8080
fig.update_traces(contours_coloring="fill", contours_showlabels = True)
8181
fig.show()
8282
```

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.