Degree Plot¶
>>> from techminer2.science_mapping.co_authorship.network.countries 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//countries/degree_plot.html")
>>> plot.df_.head()
Node Name Degree
0 0 United States 16:3189 8
1 1 Australia 05:0783 6
2 2 Germany 07:1814 5
3 3 China 08:1085 4
4 4 Denmark 02:0330 4
>>> print(plot.prompt_)
Your task is ...