-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
v2 changes #5395
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
Comments
@alexcjohnson suggested the following, which I approve if they take less than a day:
|
Note to self: the plotly.com/javascript docs will need to stop relying on the built-in D3 :) |
@archmoj can you please provide a list as a comment in this issue of all the methods in our public API that have been dropped, so that folks like @cpsievert can easily grep for them in their own codebases. I've pinged the R/Julia/.Net downstream folks to let them know what's coming and directed them here :) |
Here is a list of "Plotly.d3",
"Plotly.plot",
"Plotly.Plots": [
"modules",
"allCategories",
"allTypes",
"subplotsRegistry",
"transformsRegistry",
"componentsRegistry",
"layoutArrayContainers",
"layoutArrayRegexes",
"traceLayoutAttributes",
"localeRegistry",
"apiMethodRegistry",
"collectableSubplotTypes",
"register",
"getModule",
"traceIs",
"getTransformIndices",
"hasTransform",
"getComponentMethod",
"call",
"attributes",
"fontAttrs",
"layoutAttributes",
"fontWeight",
"executeAPICommand",
"computeAPICommandBindings",
"manageCommandObserver",
"hasSimpleAPICommandBindings",
"redrawText",
"previousPromises",
"addLinks",
"supplyDefaults",
"supplyDefaultsUpdateCalc",
"createTransitionData",
"_hasPlotType",
"cleanPlot",
"linkSubplots",
"clearExpandedTraceDefaultColors",
"supplyDataDefaults",
"supplyAnimationDefaults",
"supplyAnimationFrameDefaults",
"supplyAnimationTransitionDefaults",
"supplyFrameDefaults",
"supplyTraceDefaults",
"hasMakesDataTransform",
"supplyTransformDefaults",
"supplyLayoutGlobalDefaults",
"plotAutoSize",
"supplyLayoutModuleDefaults",
"purge",
"style",
"sanitizeMargins",
"clearAutoMarginIds",
"allowAutoMargin",
"autoMargin",
"doAutoMargin",
"didMarginChange",
"modifyFrames",
"computeFrame",
"recomputeFrameHash",
"extendObjectWithContainers",
"dataArrayContainers",
"extendTrace",
"extendLayout",
"transition",
"transitionFromReact",
"doCalcdata",
"rehover",
"redrag",
"generalUpdatePerTraceModule",
"plotBasePlot",
"cleanBasePlot"
],
"Plotly.Fx": [
"moduleType",
"name",
"constants",
"schema",
"attributes",
"layoutAttributes",
"supplyLayoutGlobalDefaults",
"supplyDefaults",
"supplyLayoutDefaults",
"calc",
"getDistanceFunction",
"getClosest",
"inbox",
"quadrature",
"appendArrayPointValue",
"castHoverOption",
"castHoverinfo",
"click"
],
"Plotly.Queue": [
"add",
"startSequence",
"stopSequence",
"undo",
"redo",
"plotDo"
], Milestone: https://github.com/plotly/plotly.js/milestone/60?closed=1 |
Hmmm is |
Yes "Plotly": [
"version",
"register",
"newPlot",
"restyle",
"relayout",
"redraw",
"update",
"react",
"extendTraces",
"prependTraces",
"addTraces",
"deleteTraces",
"moveTraces",
"purge",
"addFrames",
"deleteFrames",
"animate",
"setPlotConfig",
"toImage",
"validate",
"downloadImage",
"makeTemplate",
"validateTemplate",
"Icons",
"Snapshot",
"PlotSchema"
] |
Ah ok so in your message above, it's Also, in the message above, is |
Thanks for catching that! I edited the message above so that |
No it is not an alias. plotly.js/src/plot_api/plot_api.js Lines 3598 to 3620 in 59390cb
|
Updates:
|
Just wondering if #5230 will make it in 2.0? |
I think new features like that could possibly be added in a minor afterwards e.g. v2.x.0 |
Here's what we're going to do for v2, targeting a release in January or February 2020:
native-promise-only
and officially drop support for IE9 and IE10Plotly.plot
area
,contourgl
andpointcloud
tracesscatter
(aka "micropolar"?) i.e.scatter.r
andscatter.t
andlayout.angularaxis
andlayout.radialaxis
and anything else related (cc @alexcjohnson anything else I missed?)For reference, the primary trigger for version 2.0 is the
native-promise-only
change, with which we fully drop support for IE 9/10, even though that support has been eroding severely over the last couple of years. This change is driven by a desire to remove function constructors from as many of our bundles as possible for security reasons, as tracked in #897. Since we're doing a v2, we're trying to shed as much deprecated stuff as we can without being otherwise too-disruptive.The text was updated successfully, but these errors were encountered: