creates diagram for given 'data' and max-values ('y_max', 'x_max') and
renders it as an image, saved as 'file' in given 'size'
**Parameters**
:file: destination/filename where the rendered image will be saved
:data: dictionary, the key will be shown on the x-axis. the value on the y-axis. if a two-dimensional list will be pass, the values on the first dimension will drawn on the x-axis, the second on the y-axis
:size: tuple (int,int), size of rendered image
:y_max: max-value for y-axis
:x_max: max-value for x-axis (= count of keys)
"""
importmatplotlib.pyplotasplt
frommatplotlib.figureimportFigure
GNOME_BLUE='#3A81CC'# the proper gtk-widgets-colour