Commit 7cd45d3e authored by Theo Steininger's avatar Theo Steininger
Browse files

Fixed typo in import. Moved to nifty.config.

parent 20a1e800
Pipeline #11725 failed with stage
in 3 minutes and 47 seconds
......@@ -16,6 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <>.
import matplotlib_init
import os
import numpy as np
from matplotlib_init import *
from descriptors import *
from plots import *
from figures import *
# -*- coding: utf-8 -*-
import os
__all__ = []
import matplotlib
except ImportError:
display = os.environ['DISPLAY']
except KeyError:
if display == '':
# -*- coding: utf-8 -*-
from nifty import dependency_injector as gdi
from heat_map import HeatMap
from heatmap import Heatmap
pylab = gdi.get('pylab')
healpy = gdi.get('healpy')
class Mollweide(HeatMap):
class Mollweide(Heatmap):
def __init__(self, data, label='', line=None, marker=None, webgl=False,
smoothing=False): # smoothing 'best', 'fast', False
if 'pylab' not in gdi:
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