Source code for draugr.writers.mixins.histogram_writer_mixin
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from abc import ABC, abstractmethod
__author__ = "Christian Heider Nielsen"
__doc__ = r"""
Created on 09/10/2019
"""
__all__ = ["HistogramWriterMixin"]
[docs]class HistogramWriterMixin(ABC):
"""
Writer mixin that provides an interface for 'writing' histogram"""
[docs] @abstractmethod
def histogram(self, tag: str, values: list, step: int, **kwargs) -> None:
"""
:param values:
:param tag:
:type tag:
:param step:
:type step:
:param kwargs:
:type kwargs:"""
raise NotImplementedError