Skip to content

Commit d22b650

Browse files
authored
Merge pull request #1910 from plotly/axes-line-noticklabels-fix
Axes line w/o ticklabels fix
2 parents 10c3ae0 + 18d0ef5 commit d22b650

File tree

4 files changed

+23
-3
lines changed

4 files changed

+23
-3
lines changed

src/plots/cartesian/axes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1705,7 +1705,7 @@ axes.doTicks = function(gd, axid, skipTitle) {
17051705
labelShift = ax.ticklen * Math.sin(caRad);
17061706
}
17071707

1708-
if(ax.ticks === 'outside' || ax.showline) {
1708+
if(ax.showticklabels && (ax.ticks === 'outside' || ax.showline)) {
17091709
labelStandoff += 0.2 * ax.tickfont.size;
17101710
}
17111711

tasks/util/container_commands.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,13 @@ function getRunCI(commands) {
5959
commands = ['export CIRCLECI=1', containerCommands.cdHome].concat(commands);
6060

6161
var commandsJoined = '"' + commands.join(' && ') + '"';
62+
var containerId = '$(docker inspect --format \'{{.Id}}\' ' + constants.testContainerName + ')';
6263

6364
return [
6465
'sudo',
65-
'lxc-attach -n',
66-
'$(docker inspect --format \'{{.Id}}\' ' + constants.testContainerName + ')',
66+
'lxc-attach',
67+
'-n', containerId,
68+
'-f', '/var/lib/docker/containers/' + containerId + '/config.lxc',
6769
'-- bash -c',
6870
commandsJoined
6971
].join(' ');
26.2 KB
Loading
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"data": [{
3+
"x": [0, 1, 2, 3, 4, 5, 6, 7, 8],
4+
"y": [0, 1, 2, 3, 4, 5, 6, 7, 8]
5+
}],
6+
"layout": {
7+
"xaxis": {
8+
"title": "x axis line w/o tick labels",
9+
"showline": true,
10+
"showticklabels": false
11+
},
12+
"yaxis": {
13+
"title": "y axis line w/o tick labels",
14+
"showline": true,
15+
"showticklabels": false
16+
}
17+
}
18+
}

0 commit comments

Comments
 (0)