| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Expose *Matcher classes to get them into the objects inventory (#8903) | 11 天前 | |
Consolidate reportviews documentation (#8394) * DOC: consolidate reporting views documentation * DOC: Added common usage patterns * trigger ci * Added examples in common usage patterns * Added degree computation section in reportviews.py * Added automodule to index.rst * Fix trailing whitespace in reportviews documentation * Fix trailing whitespace in reportviews documentation * Fix trailing whitespace in reportviews documentation * applied suggested changes * updated quick overview * fix trailing whitespaces * Fix indentation level of bulleted list. * Fix remaining indentation levels, rst-style inline literals. --------- Co-authored-by: Ross Barnowski <rossbar@caltech.edu> | 8 个月前 | |
Doc: Add nx_pydot to DOT file documentation (#8433) * Doc: Add nx_pydot to reading/writing graphs documentation * Update doc/reference/readwrite/dot.rst Co-authored-by: Ross Barnowski <rossbar@caltech.edu> Co-authored-by: Dan Schult <dschult@colgate.edu> | 8 个月前 | |
DOC: Warn that env vars must be set before importing networkx (#8385) Co-authored-by: Ross Barnowski <rossbar@caltech.edu> Co-authored-by: Dan Schult <dschult@colgate.edu> | 8 个月前 | |
Correct sphinx warnings from doc build (#7888) * Fix bulleted lists in developer docs. * Use internal links for configs and backends. * Fix references formatting in densest_subgraph. * Reduce indentation level to prevent quote literal. | 1 年前 | |
Clean up from PR #5779 (#5841) | 4 年前 | |
DOC: Add Hiveplotlib to Drawing Docs and External Examples Gallery (#8714) * add hiveplotlib to docs * Update requirements/example.txt drop extra networkx + scipy deps Co-authored-by: Ross Barnowski <rossbar@caltech.edu> * change dep in the right file --------- Co-authored-by: Ross Barnowski <rossbar@caltech.edu> | 2 个月前 | |
Adds prefix_tree, dag_to_branching, and example. (#2784) This is #2060 with conflicts resolved. Fixes #2060 This commit adds two new functions and an example application using those functions. - The `prefix_tree` function (in the new module `networkx/generators/trees.py`) generates a prefix tree (aka a trie) from a given list of strings (or integers, etc.). - The `dag_to_branching` function in `networkx/algorithms/dag.py` creates the branching that results from interpreting the list of all paths from root nodes to leaf nodes in the DAG as the root-to-leaf paths in a prefix tree. - The example application of the `dag_to_branching` function, in the `examples/applications/circuits.py` module, demonstrates how to convert a Boolean circuit into an equivalent Boolean formula. | 8 年前 | |
Fix sphinx warnings 3.6rc (#8352) * DOC: Fix multiple link target in about_us. * DOC: Fix duplicate generation of dijkstra docs. * Fix duplicate generation of density + random_kernel_graph. * DOC: Use reference in doc to create cross-link. * DOC: Rm indentation from examples. Competing syntax between code block and literal block. | 9 个月前 | |
Add: Shrikhande graph (#8884) | 10 天前 | |
Pre commit hooks to check line endings and trailing whitespace (#7862) * Remove trailing whitespace * Add pre-commit hooks for fixing mixed-line-ending and trailing whitespace * Add recent linting to .git-blame-ignore-revs | 1 年前 | |
Updates documentation to include details about using NetworkX with backends. (#7611) * Initial updates for backends to install and index pages. * Adds backends section. * Adds new doc for dedicated backends page, still incomplete. * Checkpoint before creating backends subdir. * Checkpoint, working on backend doc reorg. * Updates backends page to add table of known backends with links to project pages, adds section on backends to tutorial, minor updates to install page. * Removes experiment. * Updates for style check. * Adds logging examples, formats advanced usage using a list, updates from early review feedback, other cleanup. * Style update. * Separates backends and configs to individual doc pages, adds updates for new dispatch config vars with examples. * Fixes formatting, removes unintentional escape code. * Removes unsupported config example. * Removes extra newline. * Uses the proper cross-reference role for linking to the Backends page. * reword How does this work * reword necessary to helpful * Updates for clarity from review feedback. * Re-removes inline list of known backends in favor of linking to the Backends page which maintains the same list, adds naming convention as a note, tweaks formatting. * Adds details about fallback for an example, updates formatting. * Adds subsubsections to "how does this work" subsection. --------- Co-authored-by: Dan Schult <dschult@colgate.edu> | 1 年前 | |
Doc infrastructure: replace `nb2plot` with `myst-nb` (#7237) * Update configuration and dependencies. Co-authored-by: Dan Schult <dschult@colgate.edu> * Rename tutorial rst -> md File rename to preserve git blame: git mv tutorial.rst tutorial.md * WIP: Convert to myst with rst2myst. This commit encompasses the following cmds:: mv tutorial.md tutorial.rst rst2myst convert tutorial.rst git commit # the resulting changes to tutorial.md * Manual tweaks to autogenned myst -> executable myst notebook * Replace ::: with ``` * Replace ```{eval-rst}\n.. nbplot with ```{code-cell} * Rm blank lines, prompts (>>>), elipses (...) and outputs from cells * Add jupytext header to interpret as notebook * Fix a few broken links that the auto-converter messed up * Rm code-links directive * Rename introduction rst -> md. * WIP: Convert introduction with rst2myst. This commit encompasses the following cmds:: mv introduction.md introduction.rst rst2myst converter introduction.rst git commit # the resulting changes to introduction.md * Manual tweaks to autogenned myst->nb introduction * Replace ```{eval-rst}\n.. nbplot\n with ```{code-cell} * Rm prompts (>>>), ellipses (...) and outputs from cells * Add jupytext header * Fix a few broken links * A couple other markup formatting tweaks * Switch randomness article to non-executable directives. * Lint with pre-commit. --------- Co-authored-by: Dan Schult <dschult@colgate.edu> | 2 年前 | |
ENH: adding magnetic_laplacian_matrix (#8562) * ENH: adding magnetic_laplacian_matrix * ENH: improving performance completing tests * typo in normalized_magnetic_laplacian_matrix * [8560]-Removing *_matrix of new classes * Format correction linalg/laplacianmatrix.py Co-authored-by: Dan Schult <dschult@colgate.edu> * Avoid useless mult linalg/laplacianmatrix.py Co-authored-by: Dan Schult <dschult@colgate.edu> * Avoid useless mult in normalized_magnetic_laplacian * Format correction in magnetic_laplacian * Change variable name w to wt for weight * Remove useless weight info * correction docstring ortography laplacianmatrix.py Co-authored-by: Dan Schult <dschult@colgate.edu> * ReWrote explanation doc-string magneticlaplacian * Unify wording in magnetic_laplacian doc-string * Correction docstring ortography laplacianmatrix.py * Format phrase laplacianmatrix.py Co-authored-by: Dan Schult <dschult@colgate.edu> * DOC-8560: add magnetic_laplacian to doc * DOC-8560: add magnetic_spectrum to doc * Raise for Graph in magnetic laplacians * Make keyword-only arguments * Correction docstring - parsing * Add DOI * remove useless directionality verification * ravel over flatten - avoid copy * unify dtype to complex * Avoid repeated code for normalitzation * Apply suggestions from code review Co-authored-by: Dan Schult <dschult@colgate.edu> * Adding normalized keyword * Replace norm magnetic laplacian tests * Replace normalized magnetic functions by keyword * Remove normalized_magnetic_laplacian function * Complete docstring magnetic_laplacian * change func name and move spectrum normalized to kwarg * linting * more linting * docs to remove errors on both main function pages * add test of inputs to get full coverage * DOC: Rm normalized_magnetic_spectrum from toctree. * MAINT: Rm out-of-date test comment. This no longer accurately describes the test class. * TST: Add an assert to nodelist test. Check that the shape of the returned array is consistent with nodelist. * DOC: minor docstring tweaks. * MAINT: Make magnetic_spectrum params kwarg-only. Matches the params that are kwarg-only in magnetic_laplacian. * DOC: docstring fixups. Align wording with magnetic_laplacian_matrix docstring. * TST: Add tests for raising on unsupported graph types. * DOC: Notes -> Raises re: not-implemented. * MAINT: Change nx error to ValueError. Preferring builtin exceptions where possible. --------- Co-authored-by: Dan Schult <dschult@colgate.edu> Co-authored-by: Ross Barnowski <rossbar@caltech.edu> | 1 个月前 | |
Ensure standard import conventions are used (#7821) * Ensure standard import conventions are used * Stricter regex * haha, oops. Also, add `^ *` to regex (start of line, maybe spaces) Adding `^ *` to the regex should help prevent false positives. | 1 年前 | |
Flatten doc hierarchy (#2520) * Silence some sphinx warnings * Update structure of documentation See https://github.com/networkx/networkx/pull/2054 | 9 年前 | |
BUG: add check for isolated nodes in `degree_sequence_tree` (#8235) * BUG: disallow degree-zero nodes in `degree_sequence_tree` * Create and use utility function `is_valid_tree_degree_sequence` * Change `n` in `test_all_random_functions::nx.random_powerlaw_tree(_sequence)` * Update networkx/utils/random_sequence.py Co-authored-by: Dan Schult <dschult@colgate.edu> --------- Co-authored-by: Dan Schult <dschult@colgate.edu> | 1 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 11 天前 | ||
| 8 个月前 | ||
| 8 个月前 | ||
| 8 个月前 | ||
| 1 年前 | ||
| 4 年前 | ||
| 2 个月前 | ||
| 8 年前 | ||
| 9 个月前 | ||
| 10 天前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 1 个月前 | ||
| 1 年前 | ||
| 9 年前 | ||
| 1 年前 |