cyclic_unit_tuning_curve now returns a figure object appropriately