✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🧬 Learn how to build RNA-Seq data apps with Python & Dash. Register for the May 20 Webinar!

Customize axes/ticks in 3d surface plot

Can’t get it working.
var layout ={xaxis:{tickcolor: ‘green’}}, but on plot it isn’t green (it is on 2d plot, but not 3d).

Hi there,
You have to wrap your axis in scene:

var layout = {
  scene: {
    xaxis: {tickcolor: 'green'}
  }
};

This example further demonstrates setting axes’ properties in 3D charts: https://plot.ly/javascript/ribbon-plots/

Thank you very much.
It works!!!