Skip to content

Add plotting and marginal revenue focus#134

Closed
alexanderthclark wants to merge 2 commits into
mainfrom
codex/improve-or-create-revenue-classes
Closed

Add plotting and marginal revenue focus#134
alexanderthclark wants to merge 2 commits into
mainfrom
codex/improve-or-create-revenue-classes

Conversation

@alexanderthclark

Copy link
Copy Markdown
Owner

Summary

  • refactor revenue utilities to emphasize plotting and marginal revenue
  • drop unused AverageRevenue helper
  • ensure plotting works for piecewise revenue and marginal revenue curves
  • update unit tests for new API

Testing

  • pytest -q

- Add __repr__, __str__, and _repr_latex_ methods to Revenue and MarginalRevenue
- Display clean mathematical notation (e.g., 'Revenue: TR = 10Q - 2Q²')
- Add LaTeX output for Jupyter notebooks
- Enhance all docstrings with parameters, returns, and examples
- Add module-level docstring explaining purpose
- Maintain consistency with project's elegant display philosophy

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant