[bug #68080] reset function may alter axes position

Pantxo Diribarne <[email protected]>
Newsgroups gmane.comp.gnu.octave.bugs
Message-ID <[email protected]>
Please use the bug tracker to post updates to a bug report.  The mailing list is intended as a read-only notification stream.  Info posted to this mailing list address won't appear in the tracker database where it is most useful.

Follow-up Comment #3, bug #68080 (group octave):

If you type `help reset` in Octave, you'll see that like in Matlab, this
function is supposed to not affect the axes `position` property (among
others). This is the part that doesn't work when the axes have user provided
defaults, and indeed the code to modify is in graphics.cc. Specifically, it is
axes::properties::set_defaults which responsible for resetting defaults, and
which finally blindly calls axes::properties::override_defaults without taking
care of forbidding position changes.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?68080>

_______________________________________________
Message posté via Savannah
https://savannah.gnu.org/
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCaZ9UBgAKCRCqLAuaBUf3
TjtSAQCpqvw7yP1GMVr3ZIqIZ9HxNYMfe034eM4Sio/A3uFQ/AEAmA2ytUlmU65o
13iyf1S3dbAUUc0GIjw06Mf4SCXtSQM=
=+uLM
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.