Skip to content

Commit 3e02ecb

Browse files
authored
Merge pull request #31 from erlete/dev
Minor fix
2 parents 8a8af79 + a22f296 commit 3e02ecb

File tree

6 files changed

+4
-26
lines changed

6 files changed

+4
-26
lines changed

.github/workflows/create-isse-branch.yml

-20
This file was deleted.

.github/workflows/python-publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: PyPI release
22

33
on:
44
workflow_run:
5-
workflows: [Update package version]
5+
workflows: [Python Test Execution]
66
types:
77
- completed
88

.github/workflows/python-tests.yml

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
---
2-
31
name: Python Test Execution
42

53
on:

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ build-backend = "setuptools.build_meta"
88

99
[project]
1010
name = "bidimensional"
11-
version = "1.9.0"
11+
version = "1.9.1"
1212
description = "A collection of 2D utilities for coordinate representation and manipulation."
1313
readme = "README.md"
1414
license = {file = "LICENSE"}

requirements.txt

431 Bytes
Binary file not shown.

src/bidimensional/polygons/polygon.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -176,12 +176,12 @@ def plot(self, ax: matplotlib.axes.Axes = None,
176176
ax = plt.gca()
177177

178178
for label, vertex in self._vertices.items():
179-
vertex.plot(ax=ax)
179+
vertex.plot(ax=ax, **kwargs)
180180
if annotate:
181181
ax.annotate(label, vertex, fontsize=10, fontweight="bold")
182182

183183
for label, side in self._sides.items():
184-
side.plot(ax=ax)
184+
side.plot(ax=ax, **kwargs)
185185
if annotate:
186186
ax.annotate(label, op.midpoint(*side), fontsize=10)
187187

0 commit comments

Comments
 (0)