Skip to content

Commit

Permalink
move ml_tools.extra.plotting to visualization.utils
Browse files Browse the repository at this point in the history
  • Loading branch information
zigaLuksic committed Sep 6, 2023
1 parent cd119c1 commit 7b893b1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
3 changes: 0 additions & 3 deletions eolearn/ml_tools/extra/__init__.py

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
The module provides some utility functions for ML specific plotting
The module provides some utility functions for plotting
Copyright (c) 2017- Sinergise and contributors
For the full list of contributors, see the CREDITS file in the root directory of this source tree.
Expand All @@ -11,13 +11,9 @@

import itertools

import matplotlib.pyplot as plt
import numpy as np

try:
import matplotlib.pyplot as plt
from matplotlib.colors import Colormap
except ImportError as exception:
raise ImportError("This module requires an installation of matplotlib package") from exception
from matplotlib.colors import Colormap


def plot_confusion_matrix(
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ io = ["affine", "fiona>=1.8.18", "rasterio>=1.2.7, <1.3.8"]
mask = ["opencv-python-headless"]
mask_extra = ["s2cloudless"]
mltools = ["shapely"]
mltoolsplotting = ["matplotlib"]
visualization = ["graphviz>=0.10.1", "jinja2", "matplotlib", "pygments"]
docs = [
"eo-learn[ALL]",
Expand Down

0 comments on commit 7b893b1

Please sign in to comment.