I'd seriously suggest that you try it out first with an Espruino Pico - just to remove the possibility that something (I2C or Graphics) on ESP8266 is broken
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Do you have I2C pullups?
I'd seriously suggest that you try it out first with an Espruino Pico - just to remove the possibility that something (I2C or Graphics) on ESP8266 is broken
Also, look on: http://www.espruino.com/SSD1306
There's specific code there for 32 pixel high displays that you should use. You could also try
g.setContrast(number from 0..255)
as well