MCPcopy Create free account

hub / github.com/Prooffreader/chorogrid / functions

Functions32 in github.com/Prooffreader/chorogrid

↓ 10 callersMethod_update_default_dict
Updates a dict based on kwargs
chorogrid/Chorogrid.py:65
↓ 6 callersMethod_dict2style
Returns a concatenated string from the dict
chorogrid/Chorogrid.py:77
↓ 5 callersMethod_apply_legend
(self)
chorogrid/Chorogrid.py:304
↓ 5 callersMethod_draw_title
(self, x, y)
chorogrid/Chorogrid.py:88
↓ 5 callersMethod_make_svg_top
Writes first part of svg
chorogrid/Chorogrid.py:84
↓ 4 callersMethod_determine_font_colors
(self, kwargs)
chorogrid/Chorogrid.py:94
↓ 1 callersMethod_calc_colors
(self)
chorogrid/Colorbin.py:71
↓ 1 callersMethod_calc_fenceposts
(self)
chorogrid/Colorbin.py:41
↓ 1 callersMethod_calc_hexagon
(self, x, y, w, true_rows)
chorogrid/Chorogrid.py:106
↓ 1 callersMethod_calc_labels
(self)
chorogrid/Colorbin.py:64
↓ 1 callersMethod_calc_multihex
(self, x, y, w, contour)
chorogrid/Chorogrid.py:151
↓ 1 callersMethod_calc_multisquare
(self, x, y, w, contour)
chorogrid/Chorogrid.py:177
↓ 1 callersMethod_increment_multihex
(self, x, y, w, direction)
chorogrid/Chorogrid.py:125
↓ 1 callersMethod_increment_multisquare
(self, x, y, w, direction)
chorogrid/Chorogrid.py:160
↓ 1 callersFunctionread
(fname)
_possible_future_sources/INPROGRESS-setup.py:8
↓ 1 callersMethodrecalc
(self, fenceposts = True)
chorogrid/Colorbin.py:85
Method__init__
(self, quantities, colors_in, proportional=True, decimals=None)
chorogrid/Colorbin.py:31
Method__init__
(self, csv_path, ids, colors, id_column='abbrev')
chorogrid/Chorogrid.py:42
Methodadd_svg
Adds svg text to the final output. Can be called more than once.
chorogrid/Chorogrid.py:334
Methodcalc_complements
(self, cutoff, color_below, color_above)
chorogrid/Colorbin.py:96
Methodcount_bins
(self)
chorogrid/Colorbin.py:90
Methoddone
if show == True, displays the svg in IPython notebook. If save_filename is specified, saves svg file
chorogrid/Chorogrid.py:364
Methoddone_and_overlay
Overlays a second chorogrid object on top of the root object.
chorogrid/Chorogrid.py:343
Methoddraw_hex
Creates an SVG file based on a hexagonal grid, with coordinates from the specified columns in csv_path (specified when Chorogrid class
chorogrid/Chorogrid.py:583
Methoddraw_map
Creates an SVG file based on SVG paths delineating a map, with paths from the specified columns in csv_path (specified when
chorogrid/Chorogrid.py:503
Methoddraw_multihex
Creates an SVG file based on a hexagonal grid, with contours described by the following pattern: a: up and to the right
chorogrid/Chorogrid.py:753
Methoddraw_multisquare
Creates an SVG file based on a square grid, with contours described by the following pattern: a: right b:
chorogrid/Chorogrid.py:894
Methoddraw_squares
Creates an SVG file based on a square grid, with coordinates from the specified columns in csv_path (specified when Chorogrid class
chorogrid/Chorogrid.py:381
Methodset_colors
change colors list specified when Chorogrid is instantiated
chorogrid/Chorogrid.py:188
Methodset_decimals
(self, decimals)
chorogrid/Colorbin.py:82
Methodset_legend
Creates a legend that will be included in any draw method. * width can be the text "square" or a number of pixels. * a gradient can be
chorogrid/Chorogrid.py:224
Methodset_title
Set a title for the grid kwargs: font_dict default = {'font-style': 'normal', 'font-weight': 'normal',
chorogrid/Chorogrid.py:193