Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 29, 2024
1 parent 1faf18c commit d2dca88
Show file tree
Hide file tree
Showing 14 changed files with 11 additions and 3 deletions.
1 change: 1 addition & 0 deletions examples/circos/edge_color.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Shows different edge colors. Either categorial/ordinal or continuous
"""

import matplotlib.pyplot as plt
import networkx as nx
from nxviz.plots import CircosPlot
Expand Down
1 change: 1 addition & 0 deletions examples/circos/edge_width.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Shows different edge widths on CircusPlot
"""

import matplotlib.pyplot as plt
import networkx as nx
from nxviz.plots import CircosPlot
Expand Down
1 change: 1 addition & 0 deletions nxviz/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Top-level nxviz API."""

from .api import (
arc,
hive,
Expand Down
1 change: 1 addition & 0 deletions nxviz/annotate.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Annotation submodule."""

from functools import partial, update_wrapper
from typing import Dict, Hashable

Expand Down
1 change: 0 additions & 1 deletion nxviz/api.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""High level nxviz plotting API."""


from functools import partial, update_wrapper
from typing import Callable, Dict, Hashable

Expand Down
1 change: 1 addition & 0 deletions nxviz/encodings.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Functions to encode data inside visual properties of nodes and edges."""

from functools import partial
from typing import Callable, Tuple

Expand Down
1 change: 1 addition & 0 deletions nxviz/facet.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
The others are faceting functions that can be called on.
The faceting functions rely on the high level API for plotting.
"""

import warnings
from functools import partial, update_wrapper
from itertools import combinations
Expand Down
1 change: 1 addition & 0 deletions nxviz/geometry.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Utility geometry functions that can help with drawing to screen.
"""

import numpy as np

from .polcart import to_cartesian
Expand Down
1 change: 1 addition & 0 deletions nxviz/io.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Deprecated module no longer used."""

import pandas as pd
from networkx import Graph, MultiGraph

Expand Down
1 change: 0 additions & 1 deletion nxviz/lines.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Patch generators for edges."""


from itertools import product
from typing import Dict, Iterable, List

Expand Down
1 change: 1 addition & 0 deletions nxviz/utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Utility functions."""

from collections import Counter

import pandas as pd
Expand Down
1 change: 1 addition & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
"""Pytest configuration."""

from .fixtures.graphs import dummyG, geoG, manygroupG, smallG
1 change: 0 additions & 1 deletion tests/test_midlevel_api.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Integration tests that operate at the mid-level API."""


from nxviz import nodes, edges
import pytest

Expand Down
1 change: 1 addition & 0 deletions tests/test_polcart.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for polcart submodule."""

import numpy as np

from hypothesis import assume, given, settings
Expand Down

0 comments on commit d2dca88

Please sign in to comment.