Skip to content

Commit

Permalink
Update tk_plotly.cpp
Browse files Browse the repository at this point in the history
minor issue in getting z axis label, typo fixed
  • Loading branch information
elswit committed Apr 19, 2023
1 parent d815f0b commit cd6ffe2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tk_plotly.cpp
Expand Up @@ -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<oc::text::properties&>(xlabel.get_properties());
auto& ylabelProperties = dynamic_cast<oc::text::properties&>(ylabel.get_properties());
Expand Down

0 comments on commit cd6ffe2

Please sign in to comment.