Compare commits

..

No commits in common. "48896c952996e2750431e72b2c70f6b1cd8516bd" and "40a33ecf1374038f782b95654f2e5b7172f71ad3" have entirely different histories.

3 changed files with 4 additions and 8 deletions

View File

@ -1,5 +1,2 @@
from .variability import variability_plot as variability_plot from .variability import variability_plot as variability_plot
from .wmap import wafermap as wafermap from .wmap import wafermap as wafermap
__version__ = '0.1'

View File

@ -9,7 +9,7 @@ import numpy
from numpy.typing import NDArray from numpy.typing import NDArray
import polars import polars
from polars import col from polars import col
from matplotlib import pyplot, gridspec, ticker from matplotlib import pyplot, gridspec
from matplotlib.figure import Figure from matplotlib.figure import Figure
from matplotlib.axes import Axes from matplotlib.axes import Axes
@ -118,7 +118,6 @@ def variability_plot(
boxprops.setdefault('showfliers', False) boxprops.setdefault('showfliers', False)
boxprops.setdefault('medianprops', dict(linewidth=3, color='darkred', alpha=0.8)) boxprops.setdefault('medianprops', dict(linewidth=3, color='darkred', alpha=0.8))
boxprops.setdefault('boxprops', dict(linewidth=0.5, color='black')) boxprops.setdefault('boxprops', dict(linewidth=0.5, color='black'))
boxprops.setdefault('whiskerprops', dict(linewidth=0.5, color='black'))
_boxplt = ax.boxplot(y_lists, positions=range(num_dsets), **boxprops) _boxplt = ax.boxplot(y_lists, positions=range(num_dsets), **boxprops)
if meanprops: if meanprops:
means = [yl.mean() for yl in y_lists] means = [yl.mean() for yl in y_lists]
@ -203,7 +202,6 @@ def variability_plot(
ax.grid(alpha=1, which='major') ax.grid(alpha=1, which='major')
ax.set_ylabel(data_col) ax.set_ylabel(data_col)
ax.set_title(data_col) ax.set_title(data_col)
ax.yaxis.set_minor_locator(ticker.AutoMinorLocator())
def resize_labels(event) -> None: def resize_labels(event) -> None:
# Resize labels # Resize labels

View File

@ -1,5 +1,6 @@
[project] [project]
name = "miscplot" name = "miscplot"
version = "0.1.0"
description = "Miscellaneous plots" description = "Miscellaneous plots"
readme = "README.md" readme = "README.md"
license = { file = "LICENSE.md" } license = { file = "LICENSE.md" }
@ -8,7 +9,7 @@ authors = [
] ]
homepage = "https://mpxd.net/code/jan/miscplot" homepage = "https://mpxd.net/code/jan/miscplot"
repository = "https://mpxd.net/code/jan/miscplot" repository = "https://mpxd.net/code/jan/miscplot"
requires-python = ">=3.11" requires-python = ">=3.13"
dependencies = [ dependencies = [
"matplotlib>=3.10.7", "matplotlib>=3.10.7",
"numpy>=2.3.4", "numpy>=2.3.4",
@ -32,5 +33,5 @@ build-backend = "hatchling.build"
[tool.hatch.version] [tool.hatch.version]
path = "miscplot/__init__.py" path = "klamath/__init__.py"