Degree Plot#
>>> from techminer2.science_mapping.co_authorship.network.authors import degree_plot
>>> plot = degree_plot(
... #
... # COLUMN PARAMS:
... top_n=20,
... occ_range=(None, None),
... gc_range=(None, None),
... custom_items=None,
... #
... # NETWORK PARAMS:
... algorithm_or_dict="louvain",
... association_index="association",
... #
... # DEGREE PLOT:
... textfont_size=10,
... marker_size=7,
... line_color="black",
... line_width=1.5,
... yshift=4,
... #
... # DATABASE PARAMS:
... root_dir="example/",
... database="main",
... year_filter=(None, None),
... cited_by_filter=(None, None),
... )
>>> plot.fig_.write_html("sphinx/_static/analyze/co_authorship/network//authors/degree_plot.html")
>>> plot.df_.head()
Node Name Degree
0 0 Gomber P. 2:1065 5
1 1 Kauffman R.J. 1:0576 3
2 2 Parker C. 1:0576 3
3 3 Weber B.W. 1:0576 3
4 4 Gai K. 2:0323 2
>>> print(plot.prompt_)
Your task is ...