This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
""" | |
Created on Mon Mar 12 15:58:17 2018 | |
@author: Kata | |
""" | |
import numpy as np | |
import pylab as pyl | |
K_CEIL = 50 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
index d3bd505..68349fd 100755 | |
--- a/contrib/notifications/sendmailhost.pl | |
+++ b/contrib/notifications/sendmailhost.pl | |
@@ -54,7 +54,7 @@ if ($HOSTSTATE =~ /UNREACHABLE/) { | |
$texthtml = $texthtml . "<strong>Impacted host</strong> : $HOSTNAME\n" | |
. "<strong>Address</strong> : <i>$HOSTADDRESS</i> \n" | |
- . "<strong>Host State : <span style='color:$color> $HOSTSTATE </span></strong>\n" | |
+ . "<strong>Host State : <span style='color:$color'> $HOSTSTATE </span></strong>\n" | |
. "<strong>Date/Time</strong> : <i>$SHORTDATETIME</i> \n\n" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
# -*- mode: python -*- | |
# Adapted from mpl_toolkits.axes_grid2 | |
# LICENSE: Python Software Foundation (http://docs.python.org/license.html) | |
from matplotlib.offsetbox import AnchoredOffsetbox | |
class AnchoredScaleBar(AnchoredOffsetbox): | |
def __init__(self, transform, size=0, label=None, horizontal = True, style = 'dark', loc=4, | |
pad=0.1, borderpad=0.1, sep=2, prop=None, **kwargs): | |
""" |