Skip to content

Commit

Permalink
Merge pull request #105 from elswit/patch-1
Browse files Browse the repository at this point in the history
Update tk_plotly.cpp
  • Loading branch information
SylvainCorlay committed Apr 20, 2023
2 parents d815f0b + cd6ffe2 commit 27f142c
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 27f142c

Please sign in to comment.