Replace matplotlib with web ui