From 0bd3fa02656c6704fd4f227977538c690e388b84 Mon Sep 17 00:00:00 2001 From: Zen <46526140+master-of-zen@users.noreply.github.com> Date: Thu, 8 Jul 2021 05:56:20 +0300 Subject: [PATCH] remove matplotlib --- av1an-pyo3/Cargo.toml | 1 - av1an-pyo3/pyproject.toml | 1 - av1an/target_quality/target_quality.py | 7 ------- av1an/vmaf.py | 1 - 4 files changed, 10 deletions(-) diff --git a/av1an-pyo3/Cargo.toml b/av1an-pyo3/Cargo.toml index 1082219..0566e58 100644 --- a/av1an-pyo3/Cargo.toml +++ b/av1an-pyo3/Cargo.toml @@ -15,7 +15,6 @@ requires-dist = [ "opencv-python", "psutil", "scipy", - "matplotlib", "vapoursynth", ] diff --git a/av1an-pyo3/pyproject.toml b/av1an-pyo3/pyproject.toml index 71257e9..6b07368 100644 --- a/av1an-pyo3/pyproject.toml +++ b/av1an-pyo3/pyproject.toml @@ -17,7 +17,6 @@ requires-dist = [ "opencv-python", "psutil", "scipy", - "matplotlib", "vapoursynth", ] diff --git a/av1an/target_quality/target_quality.py b/av1an/target_quality/target_quality.py index 9198b1c..a67d119 100644 --- a/av1an/target_quality/target_quality.py +++ b/av1an/target_quality/target_quality.py @@ -21,13 +21,6 @@ from av1an_pyo3 import ( ) from scipy import interpolate -try: - import matplotlib - from matplotlib import pyplot as plt -except ImportError: - matplotlib = None - plt = None - class TargetQuality: def __init__(self, project): diff --git a/av1an/vmaf.py b/av1an/vmaf.py index 1c8d7ec..5b9f423 100755 --- a/av1an/vmaf.py +++ b/av1an/vmaf.py @@ -16,7 +16,6 @@ from av1an_pyo3 import ( read_weighted_vmaf, validate_vmaf, ) -from matplotlib import pyplot as plt from av1an.chunk import Chunk from av1an.manager.Pipes import process_pipe