Skip to content
Merged
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "maxplotlibx"
version = "0.1.1"
version = "0.1.2"
description = "A reproducible plotting module with various backends and export options."
readme = "README.md"
requires-python = ">=3.8"
Expand All @@ -18,6 +18,7 @@ dependencies = [
"matplotlib",
"pint",
"plotly",
"tikzpics>=0.1.1",
]
[project.optional-dependencies]
test = [
Expand Down
10 changes: 0 additions & 10 deletions src/maxplotlib/backends/matplotlib/utils.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,9 @@
# import sys; from os.path import dirname; sys.path.append(f'{dirname(__file__)}/../../')

# import matplotlib.pylab as pylab
import math
import pickle
from pathlib import Path

import _pickle as cPickle
import matplotlib.colors as mcolors
import matplotlib.pyplot as plt
import numpy as np
import pint
from matplotlib.collections import PatchCollection
from mpl_toolkits.mplot3d import Axes3D
from mpl_toolkits.mplot3d.art3d import Line3DCollection, Poly3DCollection


def setup_tex_fonts(fontsize=14, usetex=False):
Expand Down Expand Up @@ -71,7 +62,6 @@ def _2pt(width, dpi=300):
elif isinstance(width, str):
length_in = convert_to_inches(width)
length_pt = length_in * dpi
# print(f"{length_in = } {length_pt = }")
return length_pt
else:
raise NotImplementedError
Expand Down
Loading
Loading