# Path: cameo/visualization/palette.py
# class PaletteMapper(object):
#     def __init__(self):
#     def _split_palette_name(name):
#     def add_palettalbe_palette(self, name, palette):
#     def map_palette(self, name, n=3, reverse=False):


import collections
from cameo.visualization.palette import mapper, Palette
# Copyright 2016 Novo Nordisk Foundation Center for Biosustainability, DTU.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import absolute_import



GOLDEN_RATIO = 1.618033988


class Grid(object):
    def __init__(self, engine, n_rows=1, width=None, height=None, title=None):
        self.engine = engine
        self.plots = []
        if n_rows <= 1:

# Path: cameo/visualization/palette.py
# class PaletteMapper(object):
#     def __init__(self):
#     def _split_palette_name(name):
#     def add_palettalbe_palette(self, name, palette):
#     def map_palette(self, name, n=3, reverse=False):


# Path: cameo/visualization/plotting/abstract.py
import collections
from cameo.visualization.palette import mapper, Palette

# Copyright 2016 Novo Nordisk Foundation Center for Biosustainability, DTU.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import absolute_import



GOLDEN_RATIO = 1.618033988


class Grid(object):
    def __init__(self, engine, n_rows=1, width=None, height=None, title=None):
        self.engine = engine
        self.plots = []
        if n_rows <= 1:

            n_rows = 1