Skip to content

Update hyetopgraph example#687

Merged
aaronayres35 merged 7 commits into
masterfrom
update-hyetopgraph
Apr 20, 2021
Merged

Update hyetopgraph example#687
aaronayres35 merged 7 commits into
masterfrom
update-hyetopgraph

Conversation

@aaronayres35
Copy link
Copy Markdown
Contributor

@aaronayres35 aaronayres35 commented Apr 19, 2021

part of #660

sister PR to #680

This PR updates the Hyetograph example in the documentation. It removes the use of ChacoPlotItem and the like with ComponentEditor, replaces use of on_trait_change with observe, removes development setup section, cleans up wording, fixes bugs in the code, and adds the code for the example in examples/demo/hyetograph.py.

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

This application only requires one class that will contain the Traits
and mathematical calculations together. Classes that contain Traits
must inherit from the HasTraits class. Python's multiple
must inherit from the :class:`HasTraits` class. Python's multiple
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.

HasTraits or one of its subclasses.

@aaronayres35 aaronayres35 merged commit c4e8021 into master Apr 20, 2021
@aaronayres35 aaronayres35 deleted the update-hyetopgraph branch April 20, 2021 12:36
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.

2 participants