|
pycrossword
0.3
Pure-Python implementation of a crossword puzzle generator and editor
|
Functions | |
| def | data_from_dict (data, panda=True, xy=True) |
| def | data_from_url (url) |
| def | data_from_array (array) |
| def | make_chart (data, mark_type='point', mark_props={}, x_title='x', x_props={}, y_title='y', y_props={}, color='x:N', shape='x:N', text_col=None, text_props={}, other_axes_and_channels={}, interactive=True, scale_factor=1.0, svg=False, save_file='chart.html', on_save=None) |
| def pycross.utils.graphs.data_from_array | ( | array | ) |
| def pycross.utils.graphs.data_from_dict | ( | data, | |
panda = True, |
|||
xy = True |
|||
| ) |
| def pycross.utils.graphs.data_from_url | ( | url | ) |
| def pycross.utils.graphs.make_chart | ( | data, | |
mark_type = 'point', |
|||
mark_props = {}, |
|||
x_title = 'x', |
|||
x_props = {}, |
|||
y_title = 'y', |
|||
y_props = {}, |
|||
color = 'x:N', |
|||
shape = 'x:N', |
|||
text_col = None, |
|||
text_props = {}, |
|||
other_axes_and_channels = {}, |
|||
interactive = True, |
|||
scale_factor = 1.0, |
|||
svg = False, |
|||
save_file = 'chart.html', |
|||
on_save = None |
|||
| ) |
Constructs an Altair graph from data given by 'data'.
- mark_type [str]: Any of:
[area, bar, circle, geoshape, image, line, point, rect, rule,
square, text, tick, boxplot, errorband, errorbar]
1.8.17