diff libinterp/corefcn/graphics.in.h @ 31238:67cad4e8f866

Include graphics objects with hidden handles in axes limit calculation (bug #63095). * libinterp/corefcn/graphics.cc (get_children_limits): Get handles to all axes children including those with hidden handle visibility. Add BIST. * libinterp/corefcn/graphics.in.h (text::update_position): Do not automatically change "zliminclude" property. Axes labels are implemented as text objects, and we don't want their extent to be included in the axis limit calculation.
author Markus Mützel <markus.muetzel@gmx.de>
date Sat, 24 Sep 2022 11:57:44 +0200
parents cb9451780a15
children 5ea5fe592a9a
line wrap: on
line diff
--- a/libinterp/corefcn/graphics.in.h	Wed Sep 21 09:55:32 2022 -0400
+++ b/libinterp/corefcn/graphics.in.h	Sat Sep 24 11:57:44 2022 +0200
@@ -4641,11 +4641,8 @@
                                 : lim(2));
           lim(3) = (lim(3) >= 0 ? -octave::numeric_limits<double>::Inf ()
                                 : lim(3));
-          set_zliminclude ("on");
           set_zlim (lim);
         }
-      else
-        set_zliminclude ("off");
     }
 
     OCTINTERP_API void request_autopos (void);