Skip to content
Snippets Groups Projects
Commit bb3da19e authored by Mikhail Svechnikov's avatar Mikhail Svechnikov
Browse files

SpecularPlot: rebase fix

parent a631e65a
No related branches found
No related tags found
1 merge request!1001GUI: show error bars for loaded reflectivity data
Pipeline #72729 passed
...@@ -142,7 +142,7 @@ void SpecularPlot::initPlot() ...@@ -142,7 +142,7 @@ void SpecularPlot::initPlot()
QCPScatterStyle(item->scatter(), item->scatterSize())); QCPScatterStyle(item->scatter(), item->scatterSize()));
// create error bars // create error bars
if (item->getDatafield()->hasErrorSigmas()) { if (item->datafield()->hasErrorSigmas()) {
QCPErrorBars* errorBars = new QCPErrorBars(m_custom_plot->xAxis, m_custom_plot->yAxis); QCPErrorBars* errorBars = new QCPErrorBars(m_custom_plot->xAxis, m_custom_plot->yAxis);
m_errorbar_map.insert(item, errorBars); m_errorbar_map.insert(item, errorBars);
errorBars->removeFromLegend(); errorBars->removeFromLegend();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment