Skip to content

Commit 0ec6e6a

Browse files
committed
style and add broken .json file
1 parent 38f2338 commit 0ec6e6a

File tree

2 files changed

+88
-9
lines changed

2 files changed

+88
-9
lines changed

R/ggplotly.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ gg2list <- function(p){
323323
}
324324

325325
ax.list$zeroline <- FALSE # ggplot2 plots do not show zero lines
326-
## Lines drawn around the plot border.
326+
# Lines drawn around the plot border.
327327
ax.list$showline <- !is.blank("panel.border", TRUE)
328328
ax.list$linecolor <- toRGB(theme.pars$panel.border$colour)
329329
ax.list$linewidth <- theme.pars$panel.border$size
Lines changed: 87 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,87 @@
1-
<html>
2-
<head><title>504 Gateway Time-out</title></head>
3-
<body bgcolor="white">
4-
<center><h1>504 Gateway Time-out</h1></center>
5-
<hr><center>nginx/1.4.6 (Ubuntu)</center>
6-
</body>
7-
</html>
8-
1+
{
2+
"data": [
3+
{
4+
"z": [
5+
[
6+
1,
7+
20,
8+
30,
9+
50,
10+
1
11+
],
12+
[
13+
20,
14+
1,
15+
60,
16+
80,
17+
30
18+
],
19+
[
20+
30,
21+
60,
22+
1,
23+
-10,
24+
20
25+
]
26+
],
27+
"x": [
28+
"Monday",
29+
"Tuesday",
30+
"Wednesday",
31+
"Thursday",
32+
"Friday"
33+
],
34+
"y": [
35+
"Morning",
36+
"Afternoon",
37+
"Evening"
38+
],
39+
"xaxis": "x1",
40+
"yaxis": "y1",
41+
"showlegend": false,
42+
"type": "heatmap"
43+
}
44+
],
45+
"layout": {
46+
"titlefont": {
47+
"family": ""
48+
},
49+
"showlegend": true,
50+
"xaxis": {
51+
"title": "Var1",
52+
"type": "category",
53+
"showgrid": true,
54+
"zeroline": false,
55+
"showline": false,
56+
"ticks": "outside",
57+
"showticklabels": true,
58+
"tickcolor": "rgb(127,127,127)",
59+
"gridcolor": "rgb(255,255,255)"
60+
},
61+
"yaxis": {
62+
"title": "Var2",
63+
"type": "category",
64+
"showgrid": true,
65+
"zeroline": false,
66+
"showline": false,
67+
"ticks": "outside",
68+
"showticklabels": true,
69+
"tickcolor": "rgb(127,127,127)",
70+
"gridcolor": "rgb(255,255,255)"
71+
},
72+
"legend": {
73+
"x": 100,
74+
"y": 0.5,
75+
"font": {
76+
"family": ""
77+
},
78+
"bgcolor": "rgb(255,255,255)",
79+
"bordercolor": "transparent"
80+
},
81+
"margin": {
82+
"r": 10
83+
},
84+
"paper_bgcolor": "rgb(255,255,255)",
85+
"plot_bgcolor": "rgb(229,229,229)"
86+
}
87+
}

0 commit comments

Comments
 (0)