-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Make Plotly.plot agnostic to plot modules #160
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
Merged
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
c8bc6e4
make Plots.registerSubplot take a module as argument
etpinard 8126914
add cartesian plot index + register it in plotly.js
etpinard d5e894d
add geo plot index + register it in plotly.js + rm GeoLayout module
etpinard 3c383d7
add gl3d plot index + register it in plotly.js + remove Gl3dLayout
etpinard 6640747
rm plotGeo from Plotly.plot code
etpinard 01ab620
add gl2d plot index + register it in plotly.js
etpinard c8eb205
remove Scene and Gl3dLayout from internal Plotly
etpinard fcc00c1
lint in plots.js
etpinard 51fd6fc
loop over plot modules to look for supplyLayoutDefaults,
etpinard 35470aa
add special case for plot modules in plot schema nested module handler
etpinard 3bea1c7
call plot module plot method base on plot registy in Plotly.plot
etpinard 0b07dbd
rm existence check for plotRegistry[].plot :
etpinard 1dcce20
rename plot module 'type' field --> 'name'
etpinard 0a7222c
rm several Plotly[] calls in plot_schema.js
etpinard 8da8a36
loops over trace modules to check for supplyLayoutDefaults,
etpinard 86ae51c
Merge branch 'master' into plot-index
etpinard 7ccd79f
fix a few :cow2:
etpinard File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/** | ||
* Copyright 2012-2016, Plotly, Inc. | ||
* All rights reserved. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
|
||
|
||
'use strict'; | ||
|
||
var Plotly = require('../../plotly'); | ||
|
||
|
||
exports.name = 'cartesian'; | ||
|
||
exports.attr = ['xaxis', 'yaxis']; | ||
|
||
exports.idRoot = ['x', 'y']; | ||
|
||
exports.attributes = require('./attributes'); |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
one step towards modularity. This register step will taken out of the core module and added on-demand by users.