4f9317a9e24c56bbd0bf7bfc5b8466c34a6bfa9b,bokeh/models/graphs.py,,from_networkx,#Any#Any#,35
Before Change
from ..models.graphs import StaticLayoutProvider
nodes = graph.nodes()
edges = graph.edges()
edges_start = [edge[0] for edge in edges]
edges_end = [edge[1] for edge in edges]
node_source = ColumnDataSource(data=dict(index=nodes))
After Change
// Handles nx 1.x vs 2.x data structure change
nodes = list(graph.nodes())
edges = list(graph.edges())
edges_start = [edge[0] for edge in edges]
edges_end = [edge[1] for edge in edges]
In pattern: SUPERPATTERN
Frequency: 9
Non-data size: 3
Instances Project Name: bokeh/bokeh
Commit Name: 4f9317a9e24c56bbd0bf7bfc5b8466c34a6bfa9b
Time: 2017-10-11
Author: livni.itay@gmail.com
File Name: bokeh/models/graphs.py
Class Name:
Method Name: from_networkx
Project Name: gboeing/osmnx
Commit Name: 7182aa5989f3c7eb46595bc08fd39e951d9b6036
Time: 2017-01-11
Author: gboeing@berkeley.edu
File Name: osmnx/stats.py
Class Name:
Method Name: basic_stats
Project Name: gboeing/osmnx
Commit Name: 7182aa5989f3c7eb46595bc08fd39e951d9b6036
Time: 2017-01-11
Author: gboeing@berkeley.edu
File Name: osmnx/simplify.py
Class Name:
Method Name: simplify_graph
Project Name: dit/dit
Commit Name: f33a0c440d0291c7205f307c519d1f634e72fb80
Time: 2017-09-21
Author: ryangregoryjames@gmail.com
File Name: dit/pid/lattice.py
Class Name:
Method Name: pid_lattice
Project Name: pgmpy/pgmpy
Commit Name: 45e9fb9d598b8d7723d50386ac2585812a97a540
Time: 2014-06-23
Author: navinchandak92@gmail.com
File Name: pgmpy/MarkovModel/JunctionTree.py
Class Name: JunctionTree
Method Name: _add_jt_edges
Project Name: gboeing/osmnx
Commit Name: 7182aa5989f3c7eb46595bc08fd39e951d9b6036
Time: 2017-01-11
Author: gboeing@berkeley.edu
File Name: osmnx/projection.py
Class Name:
Method Name: project_graph
Project Name: gboeing/osmnx
Commit Name: 7182aa5989f3c7eb46595bc08fd39e951d9b6036
Time: 2017-01-11
Author: gboeing@berkeley.edu
File Name: osmnx/save_load.py
Class Name:
Method Name: load_graphml
Project Name: pgmpy/pgmpy
Commit Name: 789465ef7c65fbc525fce8467a254b8f224c6061
Time: 2019-01-24
Author: erotemic@gmail.com
File Name: pgmpy/estimators/HillClimbSearch.py
Class Name: HillClimbSearch
Method Name: _legal_operations
Project Name: lingpy/lingpy
Commit Name: 0380f935ccd7e99ea1d90461446b03f7506af1c9
Time: 2016-04-20
Author: mattis.list@uni-marburg.de
File Name: lingpy/convert/plot.py
Class Name:
Method Name: plot_tree