8000 Fix axis line width, length, and positioning for coupled subplots by alexcjohnson · Pull Request #1854 · plotly/plotly.js · GitHub
[go: up one dir, main page]

Skip to content

Fix axis line width, length, and positioning for coupled subplots #1854

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 13 commits into from
Jul 14, 2017
Merged
Changes from 1 commit
Commits
File filter

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
Next Next commit
updated mock 20 to test axis line width, length, and positioning
no updated baseline yet because the behavior is broken
  • Loading branch information
alexcjohnson committed Jul 13, 2017
commit 829cd6e338acaf342c35b709863771efdf5fbbe4
25 changes: 17 additions & 8 deletions test/image/mocks/20.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,9 @@
],
"showline": true,
"ticks": "outside",
"mirror": true
"mirror": true,
"linecolor": "rgba(0,0,0,0.5)",
"linewidth": 10
},
"yaxis": {
"title": "yaxis title",
Expand All @@ -112,7 +114,8 @@
"tickfont": {
"color": "#1f77b4"
},
"linecolor": "#1f77b4"
"linecolor": "rgba(31,119,180,0.5)",
"linewidth": 20
},
"legend": {
"x": 1.1,
Expand All @@ -131,7 +134,8 @@
"tickfont": {
"color": "#ff7f0e"
},
"linecolor": "#ff7f0e",
"linecolor": "rgba(255,127,14,0.4)",
"linewidth": 6,
"anchor": "free",
"position": 0.15,
"overlaying": "y"
Expand All @@ -147,7 +151,7 @@
"tickfont": {
"color": "#2ca02c"
},
"linecolor": "#2ca02c",
"linecolor": "rgba(44,160,44,0.5)",
"anchor": "free",
"position": 0,
"overlaying": "y"
Expand All @@ -164,7 +168,8 @@
"color": "#d62728"
},
"showexponent": "last",
"linecolor": "#d62728",
"linecolor": "rgba(214,39,40,0.5)",
"linewidth": 15,
"side": "right",
"overlaying": "y"
},
Expand All @@ -181,7 +186,8 @@
},
"exponentformat": "power",
"showexponent": "first",
"linecolor": "#9467bd",
"linecolor": "rgba(148,103,189,0.5)",
"linewidth": 5,
"anchor": "free",
"side": "right",
"position": 0.85,
Expand All @@ -199,11 +205,14 @@
"color": "#8c564b"
},
"exponentformat": "SI",
"linecolor": "#8c564b",
"linecolor": "rgba(140,86,75,0.5)",
"anchor": "free",
"side": "right",
"position": 1,
"overlaying": "y"
}
},
"width": 750,
"height": 400,
"margin": {"r": 200, "l": 50, "t": 50, "b": 50}
}
}
0