Degree Plot¶
>>> from techminer2.science_mapping.co_authorship.network.organizations 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//organizations/degree_plot.html")
>>> plot.df_.head()
Node Name Degree
0 0 Goethe Univ. of Frankfurt (DEU) 1:576 3
1 1 Pennsylvania State Univ. (USA) 1:576 3
2 2 Singapore Manag. Univ. (SMU) (SGP) 1:576 3
3 3 Univ. of Delaware (USA) 1:576 3
4 4 Univ. of New South Wales (AUS) 2:340 2
>>> print(plot.prompt_)
Your task is ...