def init(CLK = 11, DIN = 10, DC = 23, RST = 24, LIGHT = 18, CE = 8, contrast = default_contrast):
    wiringPy.debug(0)

    if wiringPy.setup_gpio() != 0:
        raise IOError("Failed to initialize wiringPy properly")

    fd = wiringPy.setup_bitbang(CE, DIN, CLK, 0)
    if fd == -1:
        raise IOError("Failed to initialize bitbang properly")

    pins = [CLK, DIN, DC, RST, LIGHT, CE]
    pin_CLK, pin_DIN, pin_DC, pin_RST, pin_LIGHT, pin_CE = pins
    map(lambda p: wiringPy.pin_mode(p, ON), pins)

    # Reset the device
    wiringPy.digital_write(pin_RST, OFF)
    time.sleep(0.1)
    wiringPy.digital_write(pin_RST, ON)
    set_contrast(contrast)
    cls()
Format the chart by setting the min/max values on its dependent axis.
dataset/ETHPy150Open rm-hull/pcd8544/src/lcd.py/init--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/_internal/graphy/formatters.py/AutoScale.__call__