pypath.visual.drawing.Plot§
- class pypath.visual.drawing.Plot(graph=None, filename=None, graphix_dir='pdf', graphix_format='pdf', name=None, title_text=None, title_font_family=None, title_font_size=None, title_color='#646567', size=None, layout='fruchterman_reingold', layout_param=None, vertex_label=None, vertex_size=None, vertex_label_size='degree_label_size', edge_width=None, vertex_color='#6EA945', vertex_label_color='#007B7F', vertex_alpha='AA', vertex_frame_color='#FFFFFF00', vertex_frame_width=0, edge_label=None, edge_label_size=None, edge_label_color='#007B7F', edge_curved=None, edge_color='#818284', edge_alpha='AA', autocurve=None, vertex_label_font='sans-serif', edge_label_font='sans-serif', edge_arrow_size=1.0, edge_arrow_width=1.0, palettes={}, bbox=None, margin=10, small=None, dimensions=(1280, 1280), grouping=None, **kwargs)[source]§
Bases:
Logger
- __init__(graph=None, filename=None, graphix_dir='pdf', graphix_format='pdf', name=None, title_text=None, title_font_family=None, title_font_size=None, title_color='#646567', size=None, layout='fruchterman_reingold', layout_param=None, vertex_label=None, vertex_size=None, vertex_label_size='degree_label_size', edge_width=None, vertex_color='#6EA945', vertex_label_color='#007B7F', vertex_alpha='AA', vertex_frame_color='#FFFFFF00', vertex_frame_width=0, edge_label=None, edge_label_size=None, edge_label_color='#007B7F', edge_curved=None, edge_color='#818284', edge_alpha='AA', autocurve=None, vertex_label_font='sans-serif', edge_label_font='sans-serif', edge_arrow_size=1.0, edge_arrow_width=1.0, palettes={}, bbox=None, margin=10, small=None, dimensions=(1280, 1280), grouping=None, **kwargs)[source]§
Make this instance a logger.
- Parameters:
name – The label of this instance that will be prepended to all messages it sends to the logger.
module – Send the messages by the logger of this module.
Methods
__init__
([graph, filename, graphix_dir, ...])Make this instance a logger.
colorize
([what, coldef, alpha, attr, palette])draw
([return_data])hex2rgb
(rgbhex)large_defaults
()layout_update_needed
(layout, param)make_title
()medium_defaults
()reload
()rgb1
(rgb256)set_alpha
(seq, alpha, attr)set_defaults
(preset)set_param
(param, value)small_defaults
()title
(title[, family, size, color])update_filename
()update_graph
(graph[, title])update_layout
([layout, param])update_page
([size, margin])