Skip to content

DOC: Fix broken NumPy snippets in MATLAB users guide - #319

Open
InessaPawson wants to merge 1 commit into
numpy:mainfrom
InessaPawson:np-snippets
Open

InessaPawson wants to merge 1 commit into
numpy:mainfrom
InessaPawson:np-snippets

Conversation

@InessaPawson

Copy link
Copy Markdown
Member

Follow-up to #314, addressing @rossbar's and @bsipocz's review feedback about the NumPy snippets in the equivalents tables: they should now run after executing the imports shown above the tables (plus import inspect for the type func row).

Fixed the snippets that raised an error and the 4 that ran but did not match the MATLAB column (linalg.lstsq in 2 rows, linalg.qr, and np.sort).

Not changed here, as they need explanatory notes: a.sort(axis=0), np.mgrid (transposed vs meshgrid), and np.fft.fft/ifft . Will address in a follow-up PR.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant