| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
* Remove example
* Deprecate jit_graph / jit_data
|
|
|
|
|
|
|
|
|
|
|
| |
Co-authored-by: Brendan Ward <bcward@astutespruce.com>
Co-authored-by: Martin Fleischmann <martin@martinfleischmann.net>
Co-authored-by: Geoff Boeing <gboeing@users.noreply.github.com>
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
Co-authored-by: Brendan Ward <bcward@astutespruce.com>
Co-authored-by: Martin Fleischmann <martin@martinfleischmann.net>
Co-authored-by: Geoff Boeing <gboeing@users.noreply.github.com>
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
|
|
|
|
|
|
|
| |
* Collect graphviz examples
* Sort examples by file name
* Improve graphviz gallery layout
|
|
|
|
|
| |
* Add igraph example
* Update comment to mention upcoming igraph release
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add external directory
* Move Javascript and JIT
* Remove application section
* Consolidate and move pygraphviz examples
* Clean up imports
* Reorder
* Fix subclass examples
|
|
|
|
|
| |
Co-authored-by: Levi John Wolf <leviwolf@it036330.home>
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
Co-authored-by: Jarrod Millman <jarrod.millman@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* DOC: geospatial example using lines
* convert dual back
* attribution
* requirements
* try to fix rasterio
* use libpysal
* cleanup temp examples
* Fix typos
* Apply suggestions from code review
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
* remove plt.show
Co-authored-by: Jarrod Millman <jarrod.millman@gmail.com>
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Enable mayavi in sphinx gallery.
* Add mayavi deps to example requirements.
* Install vtk before mayavi
* Don't popup Mayavi windows
* Display offscreen
* Borrow mayavi CI conf from sphinx-gallery
* Grab dependencies as specified in sphinx-gallery conf.
* Set up virtual frame buffer so mayavi can import/run headless.
Co-authored-by: Jarrod Millman <jarrod.millman@gmail.com>
|
|
|
|
|
|
|
| |
* Deprecate nx_shp
* Add geospatial example stubs
* Add link to gallery
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update adjacency_iter to adjacency
* Use faster adj
* wip
* Update plot_antigraph.py
Remove benchmark
* wip
|
|
|
|
|
| |
* Update sphinx
* Cleanup sphinx warnings
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add rainbow coloring example to gallery.
Adds an example where edges on a complete graph are colored
by node distance.
* Update cycle fn param name.
* Update description and add link to article.
Co-authored-by: Jon Crall <erotemic@gmail.com>
Co-authored-by: Jon Crall <erotemic@gmail.com>
|
|
|
|
|
|
|
| |
* adds dedensification function, documentation, and examples
* rm unnecessary lines.
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
|
|
|
|
|
|
|
| |
* Draw simple graph w/ manual layout
* Add example from Dan
* Move per Ross suggestion
|
|
|
|
|
|
|
|
|
| |
* Update homepage URL
* Using Ross's suggestion from PR #4258
* Use https
* Fix NXEP link
|
|
|
|
|
|
|
| |
* Fix axis layout and padding for decomposition fig.
* More vertical aspect ratio.
* Remove unnecessary imports.
|
|
|
|
|
|
|
|
|
| |
* Add a 3D drawing example using matplotlib
Based on the mayavi example, but using mpl_toolkits.mplot3d instead.
* Rename to get sphinx gallery to pick up file
* Change title.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Seed layout basic/plot_properties.
* Seed simple path example
* Switch node cmap example to deterministic layout
* Seed layout in edge_colormap example
* Seed graph gen and layout in ego_graph example
* Seed random_geometric_graph example.
* Seed layout and pad axes w/ tight_layout.
* Seed and modify colors for directed example.
* Seeded graph gen and layout
* Switch to plasma colormap for better contrast on light bgnd
* Seed layout and tight_layout sampson example
* Seed and pad axes for unix email example
* Seed graph gen and layout for erdos_renyi example
* Seed graph gen and layout of degree_seq example
* Seed layout of football example
* Seed layout for krackhardt centrality example
* Seed davis club example
* Seed and use np alias in blockmodel example
* Seed beam search example.
* Seed random graph in eigenval example
* Seed heavy metal layout and pad axes
* Use deterministic layout for rgraph example
* Seed layout for printgraph example.
* Add seed to antigraph example.
* Use single rng seed value.
For examples with multiple uses of rng's (e.g. one for
generating a random graph, and another for layout) use a
single integer value as the seed for both.
* Remove unnecessary submodule paths from examples.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* WIP: Improve visualization.
* Switch layout (kamada_kawaii)
* Move legend and change font color
* Manual axes lim and tight_layout
* DOC: Minor changes to wording of example.
* ENH: Switch reading bzip to context manager.
* MAINT: simplify print statements and use fstrings
* MAINT: listcomp to simplify loops.
* ENH: tweaks to visualization.
* MAINT: rm gca for ax instance
* Remove thin edge lines.
* Change node color.
* Manual reposition to reduce label collision
* Switch axis scaling to margins from xlim
* Darker nodes with bbox labels.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Improve legibility of labels by:
* Increasing background alpha
* Increasing font size
* Changing to a light font color to contrast with the r/b bgnds
* Set seed for reproducible layout.
* Switch to tableau colorscheme
* Update docstring.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add a slightly more descriptive introduction.
* Use subplots to show populating axes individually.
* Prevent node clipping with axes margins.
* Switch color scheme to tableau
* Add seed for reproducible layout.
* Apply comments from code review
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* MAINT: replace hard-coded print with print(G).
Take advantage of more descriptive G.__str__.
* WIP: get example working with cartopy
* WIP: Make knuth example work with or without cartopy
* CI: cherrypick CI setup from #4250
* Add country boundaries to knuth example.
Adds Canada and Mexico map boundaries so that the Canadian
cities are not floating in negative space
* Slightly better figure aspect.
* Reduce linewidth for paths between cities.
Provides a little more contrast with the map borders.
* Add warnings filter to ignore cartopy warnings
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add rank plot and degree hist in one figure
Condense the degree histogram and degree rank plot examples into a
single example where the visualization inclues three things:
1. The subgraph of connected components
2. The degree rank plot
3. The degree histogram
* Rename example and remove deg hist example.
* Add summary of example to docstring and rename
* Seeded graph gen and layout for reproduciblity.
|
|
|
|
|
|
|
| |
* Fix axes so that nodes are fully contained in figure.
* Change node color scheme.
* Switch to tableau color scheme
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update comment section about dependencies.
Use try except.
* Switch from plt to fig,ax approach for subplots
* De-emphasize non-connected nodes in visualization
* Make nodes more visible and refactor code
* Seed example and remove layout try/except
Co-authored-by: Jarrod Millman <jarrod.millman@gmail.com>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fixes #3955 (boundary_expansion docs)
* add to docs for steiner_tree
* Add missing functions to docs. Thanks to #4111
* Doc fixups
* Put filters onto the doc pages.
* Add @jamestrimble doc compare script to repo and expand
* Fix latex syntax in docs for trophic
* more latex corrections
* deprecate edge_betweeness and betweeness_centrality_source.
warnings and add to list of deprecations
* Use docs to identify hopcrfot_karo_matching and maximum_matching
* remove underscore from _naive_greedy_modularity_communities
* cite James Trimble for code that finds missing functions
* Update parallel_betweenness example to avoid deprecated function
betweenness_centrality_source should be replaced by
betweenness_centrality_subset in plot_parallel_betweenness.
find _naive_greedy and change name
* tweak
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Initial commit.
* Fixed PEP 8 issues.
* Fixed more PEP 8 issues.
* Added type to sepset-nodes.
* Moved file to networkx/algorithms/tree, changed name of module to avoid namespace collision, added entry to doc system, changed deepcopy to list, removed check for None, shifted to G.is_directed(), added example.
* Removed example code.
* Removed unused import statement.
* Moved notes section.
* Fixed PEP 8 issues and removed old file.
* Fixed PEP 8 issues.
* Formatting with Black, added docstring to example and removed license information.
* Added name to name of contributors.
* Ran black
i.e.,
black networkx/algorithms/tree/tests/test_junction_tree_algorithm.py
* Updated explanation of junction trees, removed 'Graph' from unsupported classes.
* DOC: tweaks to docstring.
* Changed naming and updated docstring/code according to suggestions.
* Removed old files.
* Updated doc and init.
* Minor tweaks in docs and import structure
* Improve example
Co-authored-by: Jarrod Millman <jarrod.millman@gmail.com>
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
Co-authored-by: Dan Schult <dschult@colgate.edu>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Implemented multipartite_layout
* Added test.
* Remove left over `max_layer` in multipartite_layout
* Multipartite Layout Example
* Update examples/drawing/plot_multipartite_graph.py
Co-authored-by: Jarrod Millman <jarrod.millman@gmail.com>
|
| |
|
|
|
|
|
|
|
| |
* Handle kwds explicitly in draw_networkx; fix kwds in examples
* fix PEP8 issues
Fixes #4020
|
|
|
|
|
|
|
| |
* Fix exception causes and messages in 12 modules
* Remove deprecated matplotlib.use(warn=False) that was default anyway.
Co-authored-by: Dan Schult <dschult@colgate.edu>
|
|
|
|
| |
$ find examples -name \*.py -exec pyupgrade --py36-plus {} \;
|
| |
|
| |
|
| |
|
| |
|
| |
|