Hive Plot Exceptions#

Custom exceptions for hive plots.

exception hiveplotlib.exceptions.hive_plot.InvalidAxesOrderError#

Raise a custom exception when the user specifies an invalid axes_order.

A provided axes ordering must include all of the names corresponding to the partition set via the provided partition_variable in a HivePlot instance.

exception hiveplotlib.exceptions.hive_plot.InvalidAxisNameError#

Raise a custom exception when the user specifies an invalid axis name in a HivePlot instance.

exception hiveplotlib.exceptions.hive_plot.InvalidEdgeKwargHierarchyError#

Raise a custom exception when the user specifies an invalid edge hierarchy for a HivePlot instance.

exception hiveplotlib.exceptions.hive_plot.InvalidGraphMetricBackendError#

Raise a custom exception when an invalid graph-metric dispatch backend is requested.

Graph-metric backend names (the global graph_metric_backend parameter and per-metric "backend" entries in metric kwargs) must name an installed networkx dispatchable backend. Also raised when a per-metric "backend" entry targets a metric that does not participate in backend dispatch (degree, in_degree, out_degree), or when dispatch is requested on a networkx version without the backend dispatch machinery.

exception hiveplotlib.exceptions.hive_plot.InvalidHoverVariableError#

Raise a custom exception when an invalid hover variable is provided when plotting a HivePlot instance.

Hover information is only supported for "nodes", "axes", and / or "edges".

exception hiveplotlib.exceptions.hive_plot.InvalidPartitionVariableError#

Raise a custom exception when an invalid partition_variable is provided in a HivePlot instance.

Partition variables must be one of the columns in the nodes.data attribute.

exception hiveplotlib.exceptions.hive_plot.InvalidSortingVariableError#

Raise a custom exception when an invalid sorting_variable is provided in a HivePlot instance.

Sorting variables must be one of the columns in the nodes.data attribute.

exception hiveplotlib.exceptions.hive_plot.InvalidVizBackendError#

Raise a custom exception when an invalid viz back end is provided when setting a HivePlot instance viz back end.

exception hiveplotlib.exceptions.hive_plot.MissingSortingVariableError#

Raise a custom exception when an axis in a HivePlot instance is not provided a sorting_variable.

exception hiveplotlib.exceptions.hive_plot.RepeatInPartitionAxisNameError#

Raise a custom exception when an axis in a HivePlot instance is going to be named ending with _repeat.

This naming convention is reserved for repeat axes in HivePlot internals.

exception hiveplotlib.exceptions.hive_plot.UnspecifiedTagError#

Raise a custom exception when a tag is not specified but the tag cannot be inferred because there are multiple tags.