Closed
Description
Leave this text box for planned improvements
- remove
es-promise
polyfill from bundle - and thus make IE users add their own Promise polyfill.drop jQuery event supportMake components (e.g.Annotations
,Shapes
,RangeSlider
, ...) register-able and remove them from the core bundle.revamp set of default colorscalesmake config arguments consistent Minor inconsistency in config #839removeconfig.plot3dPixelRatio
map for backward compatibilityIncorporate /remove all unofficial exposed methods (i.e Plotly.Plots, Plotly.Fx, Plotly.Snapshot, Plotly.PlotSchema, Plotly.Queue)drop event-basedPlotly.Snapshot.toImage
and mergesrc/snapshot
inplot_api/to_image.js
remove (some) components forlib/core.js
- see Add registry of component modules #845dropPlotly.relayout
handlers for the'remove'
and'add'
special values - see Consistent container update / removal #1086for log axes, havelayout
express everything in data units instead of linearized units. This applies torange
,tick0
, and annotation and image positions.remove support for dates provided as epoch millisecondsremove the distinction between axis name and axis id (iexaxis2
vsx2
) probably by only using the name.
Metadata
Metadata
Assignees
Labels
Type
Projects
Relationships
Development
No branches or pull requests
Activity
etpinard commentedon Apr 13, 2016
On my list:
Plotly.Plots
,Plotly.Fx
,Plotly.Snapshot
,Plotly.PlotSchema
,Plotly.Queue
)mdtusz commentedon Apr 13, 2016
Ooooooh boy.
myPlot
contains methods, plotstate, and history, but it's current plotstate is always overwritten, and old state is pushed onto a history list)edit: April 14
edit: April 22
Plotly.plot
, and instance methodsPlot.update
,Plot.export
and maybe a few others that don't fit as an update.edit: April 26
snake_case
orcamelCase
(depending on what we choose)edit: May 3rd
monfera commentedon Apr 13, 2016
Besides agreeing with the above two lists, based on very limited work, take it with huge grain of salt:
mdtusz commentedon Apr 13, 2016
To add to @monfera's testing comments - I'm personally not a fan of tests that just test the internal workings of code - they end up being quite brittle and often only ensure that code remains the way it was originally written. I'd love to see tests specific to plotting only use the public API and inspect the returned object - if we no longer keep state in the DOM, this will be infinitely easier as well and rendering tests can be handled separately using mocks (and obviously, maintain unit tests for well specified functions) . As well - without the need for a real browser DOM, we'd be able to run tests (excluding image tests) headless!
cpsievert commentedon Apr 14, 2016
This seems like a good place to discuss smooth transitions as well (requested in #142, and experimented with in plotly/plotly.R#547). It'd be awesome if
plot
worked like a d3 selection wrt transitions:Also, in my mind, transitioning positions (x/y) is the most important use case, so it'd be super useful if
restyle()
(or some other method) could also support this:There are multiple ways to transition a path, but I think I'd almost always want to transition the transform.
meglio commentedon Apr 20, 2016
cpsievert commentedon May 11, 2016
+💯
etpinard commentedon Jun 15, 2016
Remove our
es6-promise
polyfill and ask IE9, IE8, IE11 (ref) to use their own Promise polyfills.etpinard commentedon Jun 23, 2016
Revamp our set of default colorscales.
monfera commentedon Jun 24, 2016
⬆️ there is palette overlap between
plotly.js
and some of itswebgl
renderers, with a different resolution. Slight restructuring would make room for one shared palette set definition at a finer than current resolution.115 remaining items