-
-
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.
Merge pull request #3095 from plotly/carpet-template-axes
Use Template.newContainer in carpet axis defaults
- Loading branch information
Showing
4 changed files
with
42 additions
and
5 deletions.
There are no files selected for viewing
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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,39 @@ | ||
{ | ||
"data": [ | ||
{ | ||
"type": "carpet", | ||
"a": [4, 4, 4, 4.5, 4.5, 4.5, 5, 5, 5, 6, 6, 6], | ||
"b": [1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3], | ||
"y": [2, 3.5, 4, 3, 4.5, 5, 5.5, 6.5, 7.5, 8, 8.5, 10] | ||
} | ||
], | ||
"layout": { | ||
"template": { | ||
"data": { | ||
"carpet": [ | ||
{ | ||
"aaxis": { | ||
"gridcolor": "cyan", | ||
"linecolor": "cyan", | ||
"tickcolor": "cyan", | ||
"minorgridcolor": "cyan", | ||
"startlinecolor": "cyan", | ||
"endlinecolor": "cyan" | ||
}, | ||
"baxis": { | ||
"gridcolor": "cyan", | ||
"linecolor": "cyan", | ||
"tickcolor": "cyan", | ||
"minorgridcolor": "cyan", | ||
"startlinecolor": "cyan", | ||
"endlinecolor": "cyan" | ||
} | ||
} | ||
] | ||
}, | ||
"layout": { | ||
"plot_bgcolor": "black" | ||
} | ||
} | ||
} | ||
} |