seems like somewhere in the plotly.js version increses, a fallback for xaxis and yaxis for scene objects has been lost, where the 3d plot would get the styles from the layout object sirectly when not set on scene.
This can be verified by comparing to using withZAxisStyle, as that function sets properties on the scene directly:
seems like somewhere in the plotly.js version increses, a fallback for
xaxis
andyaxis
forscene
objects has been lost, where the 3d plot would get the styles from the layout object sirectly when not set onscene
.This can be verified by comparing to using
withZAxisStyle
, as that function sets properties on the scene directly:Does not work:
works:
r "nuget: Plotly.NET"
r "nuget: Plotly.NET.Interactive"
open Plotly.NET open Plotly.NET.LayoutObjects
let myScene = Scene.init( XAxis = LinearAxis.init(Title = Title.init(Text = "axis title")), YAxis = LinearAxis.init(Title = Title.init(Text = "axis title")), ZAxis = LinearAxis.init(Title = Title.init(Text = "axis title")) )
Chart.Point3D([1,2,3]) |> Chart.withScene(myScene)