pycrossword  0.4
Pure-Python implementation of a crossword puzzle generator and editor
Namespaces | Functions
graphs.py File Reference

Namespaces

 pycross.utils.graphs
 
 utils.graphs
 Used to display statistics for the current crossword in the web browser using the Altair package.
 

Functions

def pycross.utils.graphs.data_from_dict (data, panda=True, xy=True)
 Converts a Python dictionary into a pandas DataFrame or altair NamedData More...
 
def pycross.utils.graphs.data_from_url (url)
 Loads data from a URL into an altair UrlData object. More...
 
def pycross.utils.graphs.data_from_array (array)
 Loads data from an array (list) into an altair InlineData object. More...
 
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 user data optionally saving it to an HTML file. More...