-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create
parcats_grid_subplots
mock with 4 grid-based subplots
This combines the former colorbar and font mocks. And adds a parcats trace with a Latex category label as well.
- Loading branch information
Jon M. Mease
committed
Sep 28, 2018
1 parent
eba1b4a
commit 4117612
Showing
6 changed files
with
55 additions
and
43 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
{ | ||
"data": [ | ||
{"type": "parcats", | ||
"domain": {"row": 0, "column": 0}, | ||
"dimensions":[ | ||
{"label": "One", "values": [1, 1, 2, 1, 2, 1, 1, 2, 1, 2, 3, 1, 2, 3, 1, 2, 1, 2, 1, 1]}, | ||
{"label": "Two", "values": ["A", "B", "A", "B", "C", "C", "A", "B", "C", "B", "C", "B", "C", "B", "C", "B", "C", "B", "A", "A"]}, | ||
{"label": "Three", "values": [11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11]}], | ||
"bundlecolors": true, | ||
"line": { | ||
"color": [0, 0, 1, 1, 0, 1, 0, 0, 0, 2, 2, 2, 2, 1, 2, 1, 0, 2, 1, 2], | ||
"shape": "linear", | ||
"showscale": true, | ||
"colorscale": "Viridis" | ||
} | ||
}, | ||
{"type": "parcats", | ||
"domain": {"row": 0, "column": 1}, | ||
"dimensions":[ | ||
{"label": "One", "values": [1, 1, 2, 1, 2, 1, 1, 2, 1]}, | ||
{"label": "Two", "values": ["A", "B", "A", "B", "C", "C", "A", "B", "C"]}, | ||
{"label": "Three", "values": [11, 11, 11, 11, 11, 11, 11, 11, 11]}], | ||
"labelfont": {"family": "Rockwell", "size": 20, "color": "gray"}, | ||
"tickfont": {"family": "Arial", "size": 10, "color": "firebrick"} | ||
}, | ||
{"type": "parcats", | ||
"domain": {"row": 1, "column": 0}, | ||
"tickfont": {"color": "black"}, | ||
"dimensions":[ | ||
{"label": "One", "values": [1, 1, 2, 1, 2, 1, 1, 2, 1]}, | ||
{"label": "Two", | ||
"values": ["A", "B", "A", "B", "C", "C", "A", "B", "C"], | ||
"categoryarray": ["A", "B", "C"], | ||
"ticktext": ["$A^2$", "<b>Bold</b><br>and<br><i>Italic</i>", "<a href='http://www.google.com'>Link</a>"] | ||
}, | ||
{"label": "Three", "values": [11, 11, 11, 11, 11, 11, 11, 11, 11]}] | ||
}, | ||
{"type": "parcats", | ||
"domain": {"row": 1, "column": 1}, | ||
"dimensions":[ | ||
{"label": "One", "values": [1, 1, 2, 1, 2, 1, 1, 2, 1]}, | ||
{"label": "Two", "values": ["A", "B", "A", "B", "C", "C", "A", "B", "C"]}, | ||
{"label": "Three", "values": [11, 11, 11, 11, 11, 11, 11, 11, 11]}], | ||
"bundlecolors": false, | ||
"line": { | ||
"color": [0, 0, 1, 1, 0, 1, 0, 0, 0], | ||
"shape": "hspline" | ||
} | ||
} | ||
], | ||
"layout": { | ||
"height": 602, | ||
"width": 592, | ||
"grid": {"rows": 2, "columns": 2}} | ||
} |