Plotly.js: Missing labels when y-axis is reverse in contour

Created on 22 Nov 2018  路  2Comments  路  Source: plotly/plotly.js

When using the layout for contour:

var layout = {
      yaxis: {
        autorange: "reversed",
        fixedrange: true
      },
      xaxis: {
        side: "top",
        fixedrange: true
      },
      margin: {
          l: 40,
          r: 50,
          t: 30,
          b: 10
        }
    };

It is missing the labels of the contour but if the autorange is removed it is back again. Could this be a bug or something in the documentation which I already trying to find but couldn't find anything about it.

bug

Most helpful comment

@etpinard the issue is with contours.showlabels https://codepen.io/alexcjohnson/pen/VVxvPN?editors=0010

All 2 comments

Seems to work as expected in: https://codepen.io/etpinard/pen/vQjNEM?editors=0010

Can you share a "fully" reproducible example to help us out? Thank you.

@etpinard the issue is with contours.showlabels https://codepen.io/alexcjohnson/pen/VVxvPN?editors=0010

Was this page helpful?
0 / 5 - 0 ratings

Related issues

maxwell8888 picture maxwell8888  路  3Comments

chriddyp picture chriddyp  路  3Comments

bryaan picture bryaan  路  3Comments

deecay picture deecay  路  3Comments

boleslawmaliszewski picture boleslawmaliszewski  路  3Comments