fix set height and width useset_graph_height and set_graph_width