Commit c5802153 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI

Merge branch 'relax_matplotlib_dependency' into 'master'

Relax matplotlib requirement

Closes #31

See merge request !39
parents c581fe5f ad25c8d6
Pipeline #18518 failed with stages
in 8 minutes and 46 seconds
import numpy as np
import matplotlib.pyplot as plt
def to_matplotlib(img):
......@@ -64,6 +63,7 @@ def imshow(img, cmap=None, **kwargs):
object
Returns whatever ``plt.imshow`` returns.
'''
import matplotlib.pyplot as plt
if cmap is None and img.ndim == 2:
cmap = 'gray'
......
......@@ -40,9 +40,10 @@ requirements:
run:
- python
- setuptools
- matplotlib
- boost
- {{ pin_compatible('numpy') }}
run_constrained:
- matplotlib
test:
imports:
......@@ -59,6 +60,7 @@ test:
- coverage
- sphinx
- sphinx_rtd_theme
- matplotlib
about:
home: https://www.idiap.ch/software/bob/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment