search in docstrings

Search bar offers the following options:

- Term presence. The below example searches for documents that must contain “foo”, might contain “bar” and must not contain “baz”: `+foo bar -baz`
- Wildcards. The below example searches for documents with words beginning with “foo”: `foo*`
- Search in specific fields. The following search matches all objects in "twisted.mail" that matches “search”: `+qname:twisted.mail.* +search`

  Possible fields: 'name', 'qname' (fully qualified name), 'docstring', and 'kind'. Last two fields are only applicable if "search in docstrings" is enabled.

- Fuzzy matches. The following search matches all documents that have a word within 1 edit distance of “foo”: `foo~1`

Results provided by Lunr.js

# ``igraph`.`drawing`.`matplotlib`.`graph`.`GraphArtist``

class documentation

`class GraphArtist(Artist, AbstractGraphDrawer): (source)`

Constructor: `GraphArtist(graph, vertex_drawer_factory, edge_drawer_factory, mark_groups, ...)`

View In Hierarchy

Artist for an igraph.Graph object.

Parameters
graph | An igraph.Graph object to plot
layout | A layout object or matrix of coordinates to use for plotting. Each element or row should describes the coordinates for a vertex.
vertex_style | A dictionary specifying style options for vertices.
edge_style | A dictionary specifying style options for edges.

Method | `__init__` | Undocumented
Method | `contains` | Track 'contains' event for mouse interactions.
Method | `draw` | Draw each of the children, with some buffering mechanism.
Method | `get_children` | Undocumented
Method | `get_datalim` | Get limits on x/y axes based on the graph layout data.
Method | `get_edge_labels` | Get list of edge label artists.
Method | `get_edges` | Get EdgeCollection artist.
Method | `get_groups` | Get HullCollection group/cluster/cover artists.
Method | `get_vertex_labels` | Get list of vertex label artists.
Method | `get_vertices` | Get VertexCollection artist.
Method | `pick` | Track 'pick' event for mouse interactions.
Method | `set` | Set multiple parameters at once.
Instance Variable | `graph` | Undocumented
Instance Variable | `kwds` | Undocumented
Instance Variable | `legend_info` | Undocumented
Instance Variable | `stale` | Undocumented
Method | `_clear_state` | Undocumented
Method | `_draw_edge_labels` | Undocumented
Method | `_draw_edges` | Draw the edges
Method | `_draw_groups` | Draw the highlighted vertex groups, if requested
Method | `_draw_vertex_labels` | Undocumented
Method | `_draw_vertices` | Draw the vertices
Method | `_kwds_post_update` | Undocumented
Method | `_reprocess` | Prepare artist and children for the actual drawing.
Method | `_set_edge_curve` | Undocumented
Instance Variable | `_edge_builder` | Undocumented
Instance Variable | `_edge_drawer` | Undocumented
Instance Variable | `_edge_drawer_factory` | Undocumented
Instance Variable | `_edge_labels` | Undocumented
Instance Variable | `_edge_order` | Undocumented
Instance Variable | `_edges` | Undocumented
Instance Variable | `_groups` | Undocumented
Instance Variable | `_legend_info` | Undocumented
Instance Variable | `_vertex_builder` | Undocumented
Instance Variable | `_vertex_drawer` | Undocumented
Instance Variable | `_vertex_drawer_factory` | Undocumented
Instance Variable | `_vertex_labels` | Undocumented
Instance Variable | `_vertex_order` | Undocumented
Instance Variable | `_vertices` | Undocumented

Inherited from `AbstractGraphDrawer`:

Static Method | `ensure_layout` | Helper method that ensures that layout is an instance of `Layout`. If it is not, the method will try to convert it to a `Layout` according to the following rules:
Static Method | `_determine_edge_order` | Returns the order in which the edge of the given graph have to be drawn, assuming that the relevant keyword arguments (`edge_order` and `edge_order_by`) are given in `kwds` as a dictionary. If neither `edge_order`...
Static Method | `_determine_vertex_order` | Returns the order in which the vertices of the given graph have to be drawn, assuming that the relevant keyword arguments (`vertex_order` and `vertex_order_by`) are given in `kwds` as a dictionary. If neither ...

def __init__(self, graph, vertex_drawer_factory=MatplotlibVertexDrawer, edge_drawer_factory=MatplotlibEdgeDrawer, mark_groups=None, layout=None, palette=None, **kwds): (source)

Undocumented

def contains(self, mouseevent): (source)

Track 'contains' event for mouse interactions.

@_stale_wrapper
def draw(self, renderer, *args, **kwds): (source)
overrides `igraph.drawing.baseclasses.AbstractGraphDrawer.draw`

Draw each of the children, with some buffering mechanism.

def get_children(self): (source)

Undocumented

def get_datalim(self): (source)

Get limits on x/y axes based on the graph layout data.

There is a small padding based on the size of the vertex marker to ensure it fits into the canvas.

def get_edge_labels(self): (source)

Get list of edge label artists.

def get_edges(self): (source)

Get EdgeCollection artist.

def get_groups(self): (source)

Get HullCollection group/cluster/cover artists.

def get_vertex_labels(self): (source)

Get list of vertex label artists.

def get_vertices(self): (source)

Get VertexCollection artist.

def pick(self, mouseevent): (source)

Track 'pick' event for mouse interactions.

def set(self, **kwds): (source)

Set multiple parameters at once.

The same options can be used as in the igraph.plot function.

graph = (source)

Undocumented

kwds = (source)

Undocumented

legend_info = (source)

Undocumented

stale: `bool` = (source)

Undocumented

def _clear_state(self): (source)

Undocumented

def _draw_edge_labels(self): (source)

Undocumented

def _draw_edges(self): (source)

Draw the edges

def _draw_groups(self): (source)

Draw the highlighted vertex groups, if requested

def _draw_vertex_labels(self): (source)

Undocumented

def _draw_vertices(self): (source)

Draw the vertices

def _kwds_post_update(self): (source)

Undocumented

def _reprocess(self): (source)

Prepare artist and children for the actual drawing.

Children are not drawn here, but the dictionaries of properties are marshalled to their specific artists.

def _set_edge_curve(self): (source)

Undocumented

_edge_builder = (source)

Undocumented

_edge_drawer = (source)

Undocumented

_edge_drawer_factory = (source)

Undocumented

_edge_labels: `list` = (source)

Undocumented

_edge_order = (source)

Undocumented

_edges = (source)

Undocumented

_groups = (source)

Undocumented

_legend_info: `dict` = (source)

Undocumented

_vertex_builder = (source)

Undocumented

_vertex_drawer = (source)

Undocumented

_vertex_drawer_factory = (source)

Undocumented

_vertex_labels: `list` = (source)

Undocumented

_vertex_order = (source)

Undocumented

_vertices = (source)

Undocumented