-
-
Notifications
You must be signed in to change notification settings - Fork 404
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
Added Spikes Element #346
Added Spikes Element #346
Changes from 13 commits
ceef430
381ba64
ac6bf29
2d4105d
45b542f
8f38f3c
45f4819
588ae8a
96daeb4
4345ea1
1c047bb
9e3e44e
6c7c9f5
527033e
95dbccd
7716fba
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -108,6 +108,7 @@ def grid_selector(grid): | |
VectorField: VectorFieldPlot, | ||
ErrorBars: ErrorPlot, | ||
Spread: SpreadPlot, | ||
Spikes: SpikesPlot, | ||
|
||
# General plots | ||
GridSpace: GridPlot, | ||
|
@@ -157,7 +158,8 @@ def grid_selector(grid): | |
|
||
|
||
MPLPlot.sideplots.update({Histogram: SideHistogramPlot, | ||
GridSpace: GridPlot}) | ||
GridSpace: GridPlot, | ||
Spikes: MarginalRugPlot}) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we need the word There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Really it's just a subclass with different defaults, so it could be used separately but probably won't be in practice. |
||
|
||
options = Store.options(backend='matplotlib') | ||
|
||
|
@@ -175,6 +177,7 @@ def grid_selector(grid): | |
options.Scatter3D = Options('style', facecolors=Cycle(), marker='o') | ||
options.Scatter3D = Options('plot', fig_size=150) | ||
options.Surface = Options('plot', fig_size=150) | ||
options.Spikes = Options('style', color='black') | ||
# Rasters | ||
options.Image = Options('style', cmap='hot', interpolation='nearest') | ||
options.Raster = Options('style', cmap='hot', interpolation='nearest') | ||
|
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.
To me 'ticks' makes me think about plotting... how about:
"Spikes is a 1D or 2D Element, which represents a series of vertical or horizontal lines distributed along some dimension..."