Source code for pyatmlab.graphics

#!/usr/bin/env python
# coding: utf-8

"""Interact with matplotlib and other plotters

"""

import os.path
import datetime
now = datetime.datetime.now
import logging

import numpy
import matplotlib
import matplotlib.pyplot
from . import config
from . import io

[docs]def plotdir(): """Returns todays plotdir. Configuration 'plotdir' must be set. Value is expanded with strftime. """ return datetime.date.today().strftime(config.get_config('plotdir'))