-
-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ListStepPlot refactor _ListPlot a little #1096
Conversation
As always, this is not perfect; not all options are supported. But it is a starting point. |
37df862
to
9d6b87e
Compare
9d6b87e
to
40ca3fa
Compare
Revise docstring in mathics.eval.drawing.plot.eval_ListPlot
9329f6c
to
0fc71d5
Compare
6760b12
to
1d063a8
Compare
like WMA does
mathics/builtin/drawing/plot.py
Outdated
@@ -2067,14 +2067,16 @@ class ListStepPlot(_ListPlot): | |||
>> ListStepPlot[{1, 1, 2, 3, 5, 8, 13, 21}] | |||
= -Graphics- | |||
|
|||
|
|||
By default ListStepPlots are joined, but that can be disabled. | |||
'ListPlot' accepts a superset of the Graphics options. \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't be 'ListStepPlot'?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks - corrected now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
ListStepPlot[]
_ListPlot[]
a little; note this is an abstract class. Add a ListPlot type enum