Skip to content

Commit

Permalink
more info
Browse files Browse the repository at this point in the history
  • Loading branch information
leliel12 committed Nov 13, 2017
1 parent 26c8f4a commit e057e38
Show file tree
Hide file tree
Showing 8 changed files with 33 additions and 64 deletions.
13 changes: 7 additions & 6 deletions doc/source/_static/css/skcriteria.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,20 +40,21 @@ div.input_area {
}


table {
div.output_area table {
border-collapse: collapse;
}

table thead tr th{
div.output_area table thead tr th{
background-color: #7b8e2d;
}

table thead tr th,
table tbody tr td {

div.output_area table thead tr th,
div.output_area table tbody tr td {
border: 1px solid black;
font-size: 12px;
}

tr:nth-child(even) {
background-color: #7b8e2d5c;
div.output_area tr:nth-child(even){
background-color: #7b8e2d5c !important;
}
4 changes: 2 additions & 2 deletions doc/source/api/core.rst → doc/source/api/base.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
``skcriteria.core`` module
``skcriteria.base`` module
==========================

.. automodule:: skcriteria.core
.. automodule:: skcriteria.base
:members:
:undoc-members:
:show-inheritance:
1 change: 0 additions & 1 deletion doc/source/api/skcriteria.plot.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@ Submodules

.. automodule:: skcriteria.plot
:members:
:undoc-members:
:show-inheritance:
36 changes: 2 additions & 34 deletions doc/source/api/skcriteria.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,39 +6,7 @@ Reference

.. toctree::

core
base
validate
madm/madm
skcriteria.plot
.. ~ skcriteria.weights
.. ~ skcriteria\.core module
.. ~ -----------------------
.. ~ .. automodule:: skcriteria.core
.. ~ :members:
.. ~ :undoc-members:
.. ~ :show-inheritance:
.. ~ skcriteria\.divcorr module
.. ~ --------------------------
.. ~ .. automodule:: skcriteria.divcorr
.. ~ :members:
.. ~ :undoc-members:
.. ~ :show-inheritance:
.. ~ skcriteria\.norm module
.. ~ -----------------------
.. ~ .. automodule:: skcriteria.norm
.. ~ :members:
.. ~ :undoc-members:
.. ~ :show-inheritance:
.. ~ skcriteria\.rank module
.. ~ -----------------------
.. ~ .. automodule:: skcriteria.rank
.. ~ :members:
.. ~ :undoc-members:
.. ~ :show-inheritance:
7 changes: 7 additions & 0 deletions doc/source/api/validate.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
``skcriteria.validate`` module
==============================

.. automodule:: skcriteria.validate
:members:
:undoc-members:
:show-inheritance:
18 changes: 9 additions & 9 deletions doc/source/tutorial/quickstart.ipynb

Large diffs are not rendered by default.

9 changes: 3 additions & 6 deletions skcriteria/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,13 +206,10 @@ def weights(self):
"""Relative importance of the criteria or None if all the same"""
return None if self._weights is None else self._weights.copy()

@property
def plot(self):
"""Data plotting accessor and method"""
return self._plot

# ----------------------------------------------------------------------
# Add plotting methods to DataFrame

Data.plot = AccessorProperty(DataPlotMethods, DataPlotMethods)
plot = AccessorProperty(DataPlotMethods, DataPlotMethods)


# =============================================================================
Expand Down
9 changes: 3 additions & 6 deletions skcriteria/plot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,16 @@


# =============================================================================
# FUTURE
# FUTURE & DOCS
# =============================================================================

from __future__ import unicode_literals


# =============================================================================
# DOCS
# =============================================================================
__doc__ = """Plotting utilities"""

__doc__ = """Plotting utilities

"""
__all__ = ["DataPlotMethods"]


# =============================================================================
Expand Down

0 comments on commit e057e38

Please sign in to comment.