@staticmethod
def toggle_display_state(key):
    state_props = bpy.context.window_manager.MathVisStatePropList
    if (key in state_props):
        state_props[key].state[0] = (not state_props[key].state[0])
    else:
        print(('Odd: Can not find key %s in MathVisStateProps' % key))
@staticmethod
def toggle_display_state(key):
    state_props = bpy.context.window_manager.MathVisStatePropList
    if (key in state_props):
        state_props[key].state[0] = (not state_props[key].state[0])
    else:
        print(('Odd: Can not find key %s in MathVisStateProps' % key))