Skip to content

Commit

Permalink
Merge pull request #6469 from plotly/rename-z-mocks
Browse files Browse the repository at this point in the history
Rename several new mocks starting with z
  • Loading branch information
archmoj authored Feb 3, 2023
2 parents 0e197e6 + 03c4c84 commit 70c49ce
Show file tree
Hide file tree
Showing 61 changed files with 5 additions and 5 deletions.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file modified test/image/baselines/pattern_fgcolor_overlay_fillmode.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/image/baselines/sunburst_flare.png
Binary file modified test/image/baselines/sunburst_inside-text-orientation.png
Binary file modified test/image/baselines/sunburst_textpad_radial.png
Binary file modified test/image/baselines/treemap_sunburst_marker_colors.png
Binary file modified test/image/baselines/treemap_textposition.png
Binary file modified test/image/baselines/uniformtext_bar_edgecase1.png
Binary file modified test/image/baselines/uniformtext_sunburst_treemap.png
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions test/jasmine/tests/axes_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4449,7 +4449,7 @@ describe('Test axes', function() {
expect(tickBottom).toBeLessThan(titleTop + 2); // allow two pixels tolerance
}

var fig = require('../../image/mocks/z-automargin-zoom.json');
var fig = require('../../image/mocks/automargin-zoom.json');
Plotly.newPlot(gd, fig)

.then(assertLayout)
Expand Down Expand Up @@ -7973,7 +7973,7 @@ describe('shift tests', function() {
afterEach(destroyGraphDiv);

it('should set y-axis shifts correctly on first draw when shift=true', function() {
var fig = require('../../image/mocks/zz-mult-yaxes-simple.json');
var fig = require('../../image/mocks/mult-yaxes-simple.json');
Plotly.newPlot(gd, fig).then(function() {
checkLine('path.xy3-y.crisp', 550);
checkLine('path.xy4-y.crisp', 691);
Expand All @@ -7983,7 +7983,7 @@ describe('shift tests', function() {
});

it('should set y-axis shifts correctly on first draw when shift=<numeric>', function() {
var fig = require('../../image/mocks/zz-mult-yaxes-manual-shift.json');
var fig = require('../../image/mocks/mult-yaxes-manual-shift.json');
Plotly.newPlot(gd, fig).then(function() {
checkLine('path.xy3-y.crisp', 97);
checkLine('path.xy4-y.crisp', 616);
Expand Down
2 changes: 1 addition & 1 deletion test/jasmine/tests/hover_label_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2642,7 +2642,7 @@ describe('Hover on multicategory axes', function() {
});

it('should work with series', function(done) {
var fig = Lib.extendDeep({}, require('../../image/mocks/zz-multicategory_series.json'));
var fig = Lib.extendDeep({}, require('../../image/mocks/multicategory_series.json'));
fig.data = [fig.data[0]];
fig.layout.width = 500;
fig.layout.height = 500;
Expand Down
2 changes: 1 addition & 1 deletion test/jasmine/tests/plots_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1347,7 +1347,7 @@ describe('Test Plots with automargin and minreducedwidth/height', function() {
expect(xy.getAttribute(attr)).toBeCloseTo(exp, -1);
}

var fig = require('../../image/mocks/z-automargin-minreducedheight.json');
var fig = require('../../image/mocks/automargin-minreducedheight.json');

Plotly.newPlot(gd, fig)
.then(function() {
Expand Down

0 comments on commit 70c49ce

Please sign in to comment.