diff --git a/common/widgets/mathplot.cpp b/common/widgets/mathplot.cpp index a4cf48f4a9..946e1a4494 100644 --- a/common/widgets/mathplot.cpp +++ b/common/widgets/mathplot.cpp @@ -1108,7 +1108,6 @@ void mpScaleXLog::recalculateTicks ( wxDC & dc, mpWindow & w ) double visibleDecades = log( maxVvis / minVvis ) / log(10); - printf("visibleD %f %f\n", minDecade, maxDecade); double d; m_tickValues.clear(); diff --git a/include/widgets/mathplot.h b/include/widgets/mathplot.h index 081cc06fea..6b86083825 100644 --- a/include/widgets/mathplot.h +++ b/include/widgets/mathplot.h @@ -733,13 +733,11 @@ public: m_maxV = std::max(maxV, m_maxV); } - printf("Extend min %.10f max %.10f\n", m_minV, m_maxV); - if (m_minV == m_maxV) { m_minV = -1.0; m_maxV = 1.0; - } + } }