Oct2py

Latest version: v5.7.2

Safety actively analyzes 675388 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 7 of 9

2.1.0

- Allow keyword arguments in functions: \[octave.plot(\[1,2,3\],
linewidth=2))\]{.title-ref} These are translated to ("prop", value)
arguments to the function.
- Add option to show plotting gui with \[-g\]{.title-ref} flag in
OctaveMagic.
- Add ability to specify the Octave executable as a keyword argument
to the Oct2Py object.
- Add specifications for plot saving instead of displaying plots
to \[eval\]{.title-ref} and dynamic functions.

2.0.0

\- **Breaking changes**

: -- Removed methods: \[run\]{.title-ref}, \[call\]{.title-ref},
\[lookfor\]{.title-ref} -- Renamed methods: \[\_eval\]{.title-ref} ->
\[eval\]{.title-ref}, \[get\]{.title-ref} -> \[pull\]{.title-ref},
\[put\]{.title-ref} -> \[push\]{.title-ref}, \[close\]{.title-ref} ->
\[exit\]{.title-ref} -- Removed run and call in favor of using eval
dynamic functions. -- Renamed methods to avoid overshadowing Octave
builtins and for clarity. -- When a command results in "ans", the
value of "ans" is returned instead of the printed string.

- Syntax Errors on Windows no longer crash the session.
- Added ability to interrupt commands with CTRL+C.
- Fixed Octavemagic not following current working directory.

1.6.0

- Added 'temp_dir' argument to Oct2Py constructor (50)
- Added 'kill_octave' convenience method to kill zombies (46)
- Improved Octave shutdown handling (45, 46)
- Added 'oned_as' argument to Oct2Py constructor (49)

1.5.0

- Removed optional pexpect dependency
- Brought back support for Python 2.6

1.4.0

- Added support for Python 3.4 and Octave 3.8
- Support long_field names
- Dropped support for Python 3.2

1.3.0

- Added support for Octave keyboard function (requires pexpect on
Linux).
- Improved error messages when things go wrong in the Octave session
- (Linux) When pexpect is installed, Octave no longer closes session
when a Syntax Error is encountered.
- Fixed: M-files with no docstrings are now supported.

Page 7 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.