Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Prooffreader/chorogrid
/ functions
Functions
32 in github.com/Prooffreader/chorogrid
⨍
Functions
32
◇
Types & classes
2
↓ 10 callers
Method
_update_default_dict
Updates a dict based on kwargs
chorogrid/Chorogrid.py:65
↓ 6 callers
Method
_dict2style
Returns a concatenated string from the dict
chorogrid/Chorogrid.py:77
↓ 5 callers
Method
_apply_legend
(self)
chorogrid/Chorogrid.py:304
↓ 5 callers
Method
_draw_title
(self, x, y)
chorogrid/Chorogrid.py:88
↓ 5 callers
Method
_make_svg_top
Writes first part of svg
chorogrid/Chorogrid.py:84
↓ 4 callers
Method
_determine_font_colors
(self, kwargs)
chorogrid/Chorogrid.py:94
↓ 1 callers
Method
_calc_colors
(self)
chorogrid/Colorbin.py:71
↓ 1 callers
Method
_calc_fenceposts
(self)
chorogrid/Colorbin.py:41
↓ 1 callers
Method
_calc_hexagon
(self, x, y, w, true_rows)
chorogrid/Chorogrid.py:106
↓ 1 callers
Method
_calc_labels
(self)
chorogrid/Colorbin.py:64
↓ 1 callers
Method
_calc_multihex
(self, x, y, w, contour)
chorogrid/Chorogrid.py:151
↓ 1 callers
Method
_calc_multisquare
(self, x, y, w, contour)
chorogrid/Chorogrid.py:177
↓ 1 callers
Method
_increment_multihex
(self, x, y, w, direction)
chorogrid/Chorogrid.py:125
↓ 1 callers
Method
_increment_multisquare
(self, x, y, w, direction)
chorogrid/Chorogrid.py:160
↓ 1 callers
Function
read
(fname)
_possible_future_sources/INPROGRESS-setup.py:8
↓ 1 callers
Method
recalc
(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
Method
add_svg
Adds svg text to the final output. Can be called more than once.
chorogrid/Chorogrid.py:334
Method
calc_complements
(self, cutoff, color_below, color_above)
chorogrid/Colorbin.py:96
Method
count_bins
(self)
chorogrid/Colorbin.py:90
Method
done
if show == True, displays the svg in IPython notebook. If save_filename is specified, saves svg file
chorogrid/Chorogrid.py:364
Method
done_and_overlay
Overlays a second chorogrid object on top of the root object.
chorogrid/Chorogrid.py:343
Method
draw_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
Method
draw_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
Method
draw_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
Method
draw_multisquare
Creates an SVG file based on a square grid, with contours described by the following pattern: a: right b:
chorogrid/Chorogrid.py:894
Method
draw_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
Method
set_colors
change colors list specified when Chorogrid is instantiated
chorogrid/Chorogrid.py:188
Method
set_decimals
(self, decimals)
chorogrid/Colorbin.py:82
Method
set_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
Method
set_title
Set a title for the grid kwargs: font_dict default = {'font-style': 'normal', 'font-weight': 'normal',
chorogrid/Chorogrid.py:193