HeatmapΒΆ
>>> from techminer2.packages.co_occurrence_matrix import Heatmap
>>> plot = (
... Heatmap()
... #
... # COLUMNS:
... .with_field("author_keywords")
... .having_terms_in_top(10)
... .having_terms_ordered_by("OCC")
... .having_term_occurrences_between(2, None)
... .having_term_citations_between(None, None)
... .having_terms_in(None)
... #
... # ROWS:
... .with_other_field(None)
... .having_other_terms_in_top(None)
... .having_other_terms_ordered_by(None)
... .having_other_term_occurrences_between(None, None)
... .having_other_term_citations_between(None, None)
... .having_other_terms_in(None)
... #
... # COUNTERS:
... .using_term_counters(True)
... #
... # PLOT:
... .using_title_text(None)
... .using_colormap("Blues")
... #
... # DATABASE:
... .where_root_directory_is("example/")
... .where_database_is("main")
... .where_record_years_range_is(None, None)
... .where_record_citations_range_is(None, None)
... .where_records_match(None)
... #
... .run()
... )
>>> # plot.write_html("docs_src/_generated/packages/co_occurrence_matrix/heatmap.html")