fix bug when no data in peer plotting widget
Compare changes
closes #232 (closed)
Use new attr has_data to help not processing the peer plotting widget if it has no data to avoid the case the ruler or zoommarker haven not been created yet.