8000 Fix uniformtext and enable coloraxis for sunburst and treemap as well as pathbar.textfont by archmoj · Pull Request #4444 · plotly/plotly.js · GitHub
[go: up one dir, main page]

Skip to content

Fix uniformtext and enable coloraxis for sunburst and treemap as well as pathbar.textfont #4444

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 16 commits into from
Jan 6, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter
8000

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
improve treemap image test with unifromtext and pathbar custom font
  • Loading branch information
archmoj committed Dec 30, 2019
commit 16848b3bfb0f0972207d1e02e6e6a13b32d195b8
Binary file modified test/image/baselines/uniformtext_treemap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 23 additions & 9 deletions test/image/mocks/uniformtext_treemap.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,8 @@
"textinfo": "label",
"textfont": {
"family": "Raleway, sans-serif",
"color": "#FFF"
"color": "#FFF",
"size": 15
},
"domain": {
"x": [
Expand Down Expand Up @@ -217,9 +218,17 @@
"Zulu"
],
"textinfo": "label",
"textfont": {
"insidetextfont": {
"family": "Courier New, monospace",
"color": "#000"
"color": "#000",
"size": 10
},
"pathbar": {
"textfont": {
"family": "Times New Roman, Times, serif",
"color": "#FF0",
"size": 20
}
},
"domain": {
"x": [
Expand Down Expand Up @@ -296,9 +305,17 @@
"Zulu"
],
"textinfo": "label",
"textfont": {
"insidetextfont": {
"family": "Times New Roman, Times, serif",
"color": "#FF0"
"color": "#FF0",
"size": 20
},
"pathbar": {
"textfont": {
"family": "Courier New, monospace",
"color": "#000",
"size": 10
}
},
"domain": {
"x": [
Expand Down Expand Up @@ -326,11 +343,8 @@
"l": 10,
"r": 10
},
"font": {
"size": 20
},
"uniformtext": {
"minsize": 20,
"minsize": 15,
"mode": "hide"
}
}
Expand Down
0