Skip to content

Matplotlib to chaco cheatsheet in docs #723

Merged
aaronayres35 merged 12 commits into
masterfrom
matplotlib2chaco-cheatsheet
May 5, 2021
Merged

Matplotlib to chaco cheatsheet in docs #723
aaronayres35 merged 12 commits into
masterfrom
matplotlib2chaco-cheatsheet

Conversation

@aaronayres35
Copy link
Copy Markdown
Contributor

closes #690
This PR adds a brief section to the documentation giving a "cheatsheet" of code "equivalences" between matplotlib and chaco.

It effectively copies the table given in the issue, and adds a short introduction to it / fills in a couple empty sections

Copy link
Copy Markdown
Contributor

@rahulporuri rahulporuri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly LGTM

Comment thread docs/source/user_manual/matplotlib_to_chaco.rst Outdated
Comment thread docs/source/user_manual/matplotlib_to_chaco.rst Outdated
Comment thread docs/source/user_manual/matplotlib_to_chaco.rst Outdated
Comment thread docs/source/user_manual/matplotlib_to_chaco.rst Outdated
Copy link
Copy Markdown
Contributor

@rahulporuri rahulporuri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with one minor nitpicky comment

Comment thread docs/source/user_manual/matplotlib_to_chaco.rst Outdated
options for the ``axis`` argument. In chaco ``'x'`` and ``'y'`` are the names
the ``PlotData`` object associates with numpy arrays ``x`` and ``y``.

.. list-table:: Matplotlib To Chaco Cheatsheet
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there's something new i learnt today!

aaronayres35 and others added 2 commits May 5, 2021 07:34
Co-authored-by: Poruri Sai Rahul <rporuri@enthought.com>
@rahulporuri
Copy link
Copy Markdown
Contributor

@achabotl can you make time to review this PR?

Copy link
Copy Markdown
Contributor

@achabotl achabotl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for making this! LGTM.

See inline comments, mainly for consistency of naming and some formatting.

Comment thread docs/source/user_manual/matplotlib_to_chaco.rst Outdated
Comment thread docs/source/user_manual/matplotlib_to_chaco.rst Outdated
Comment thread docs/source/user_manual/matplotlib_to_chaco.rst Outdated
Comment thread docs/source/user_manual/matplotlib_to_chaco.rst Outdated
Comment thread docs/source/user_manual/matplotlib_to_chaco.rst Outdated
Comment thread docs/source/user_manual/matplotlib_to_chaco.rst Outdated
Comment thread docs/source/user_manual/matplotlib_to_chaco.rst Outdated
Comment thread docs/source/user_manual/matplotlib_to_chaco.rst Outdated
aaronayres35 and others added 3 commits May 5, 2021 09:55
Co-authored-by: Alexandre Chabot-Leclerc <achabotl@users.noreply.github.com>
@aaronayres35 aaronayres35 merged commit 8065abb into master May 5, 2021
@aaronayres35 aaronayres35 deleted the matplotlib2chaco-cheatsheet branch May 5, 2021 16:13
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.

In documentation, consider providing a cheatsheet for Chaco users coming from Matplotlib

3 participants