Network Density PlotΒΆ
>>> from techminer2.coupling_network import node_density_plot
>>> plot = node_density_plot(
... unit_of_analysis='authors', # article
... # authors
... # countries
... # organizations
... # sources
... #
... # FILTERS:
... top_n=20,
... citations_threshold=0,
... #
... # FILTERS NOT VALID FOR 'article' UNIT OF ANALYSIS:
... occurrence_threshold=2,
... custom_terms=None,
... #
... # NETWORK PARAMS:
... algorithm_or_dict="louvain",
... #
... # LAYOUT:
... nx_k=None,
... nx_iterations=30,
... nx_random_state=0,
... #
... # DENSITY VISUALIZATION:
... bandwidth=0.1,
... colorscale="Aggrnyl",
... opacity=0.6,
... #
... # AXES:
... # xaxes_range=None,
... # yaxes_range=None,
... # show_axes=False,
... #
... # DATABASE PARAMS:
... root_dir="example/",
... database="main",
... year_filter=(None, None),
... cited_by_filter=(None, None),
... )
>>> # plot.write_html("sphinx/_static/coupling_network/others_node_density_plot.html")
>>> # article:
>>> from techminer2.coupling_network import node_density_plot
>>> plot = node_density_plot(
... unit_of_analysis='article', # article
... # authors
... # countries,
... # organizations
... # sources
... #
... # FILTERS:
... top_n=20,
... citations_threshold=0,
... #
... # NOT VALID FOR 'article' UNIT OF ANALYSIS:
... occurrence_threshold=2,
... custom_terms=None,
... #
... # NETWORK PARAMS:
... algorithm_or_dict="louvain",
... #
... # LAYOUT:
... nx_k=None,
... nx_iterations=30,
... nx_random_state=0,
... #
... # DENSITY VISUALIZATION:
... bandwidth=0.1,
... colorscale="Aggrnyl",
... opacity=0.6,
... #
... # AXES:
... # xaxes_range=None,
... # yaxes_range=None,
... # show_axes=False,
... #
... # DATABASE PARAMS:
... root_dir="example/",
... database="main",
... year_filter=(None, None),
... cited_by_filter=(None, None),
... )
>>> # plot.write_html("sphinx/_static/coupling_network/docs_node_density_plot.html")