Commit a22deda5 authored by Locatelli's avatar Locatelli
Browse files

missed a name changes

parent 19b28455
......@@ -700,8 +700,8 @@ bp::object MplPlot2D::plotproj(const bp::object& axis, const std::vector<float64
* set_projxlim
*/
void MplPlot2D::set_imagelim(float64 xmin, float64 xmax, float64 ymin, float64 ymax) throw (Error) {
manager::mpl::MplEventManager::getInstance()->lockXLimChanged();
manager::mpl::MplEventManager::getInstance()->lockYLimChanged();
manager::mpl::MplEventManager::getInstance()->bypassXLimChanged();
manager::mpl::MplEventManager::getInstance()->bypassYLimChanged();
bp::list lims;
lims.append(xmin);
lims.append(xmax);
......@@ -713,8 +713,8 @@ void MplPlot2D::set_imagelim(float64 xmin, float64 xmax, float64 ymin, float64 y
} catch (...) {
throw Error("MplPlot2D", "set_imagelim", "Could not update image set_extent");
}
manager::mpl::MplEventManager::getInstance()->unlockXLimChanged();
manager::mpl::MplEventManager::getInstance()->unlockYLimChanged();
manager::mpl::MplEventManager::getInstance()->clearBypassXLimChanged();
manager::mpl::MplEventManager::getInstance()->clearBypassYLimChanged();
}
/*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment