From cd6ffe22031bcd4bfad87e13d8424f6052c4e8c1 Mon Sep 17 00:00:00 2001 From: Arash Sarshar Date: Wed, 19 Apr 2023 19:13:28 -0400 Subject: [PATCH] Update tk_plotly.cpp minor issue in getting z axis label, typo fixed --- src/tk_plotly.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tk_plotly.cpp b/src/tk_plotly.cpp index da3e03a..828829a 100644 --- a/src/tk_plotly.cpp +++ b/src/tk_plotly.cpp @@ -102,11 +102,11 @@ void plotly_graphics_toolkit::redraw_figure(oc::graphics_object const& go) const #if OCTAVE_MAJOR_VERSION >= 6 auto xlabel = m_interpreter.get_gh_manager().get_object(axisProperties.get_xlabel()); auto ylabel = m_interpreter.get_gh_manager().get_object(axisProperties.get_ylabel()); - auto zlabel = m_interpreter.get_gh_manager().get_object(axisProperties.get_ylabel()); + auto zlabel = m_interpreter.get_gh_manager().get_object(axisProperties.get_zlabel()); #else auto xlabel = gh_manager::get_object(axisProperties.get_xlabel()); auto ylabel = gh_manager::get_object(axisProperties.get_ylabel()); - auto zlabel = gh_manager::get_object(axisProperties.get_ylabel()); + auto zlabel = gh_manager::get_object(axisProperties.get_zlabel()); #endif auto& xlabelProperties = dynamic_cast(xlabel.get_properties()); auto& ylabelProperties = dynamic_cast(ylabel.get_properties());