Commits

Ville Suoranta authored 4529fa36396 Merge
Merge pull request #1045 in CASA/casa from CAS-12457 to master

* commit '60d63f86f22694fc7c7aba9a1a1bbce822a92b08': Fix seg fault when showimage cannot be done Fix plotms regression test Improve axis range and label for atmospheric curves Do not show axis label when xlabel/ylabel string is single space Revert change which broke ra/dec indexer Refactor plotms plot settings for overplots Remove unneeded boolean canvas properties for single/iterated plots Prevent repeating y-axis labels for overplots

code/graphics/GenericPlotter/PlotCanvas.cc

Modified
221 221 void PlotCanvas::setBackground(const String& color,
222 222 PlotAreaFill::Pattern pattern) {
223 223 PlotAreaFillPtr bg = background();
224 224 bg->setColor(color);
225 225 bg->setPattern(pattern);
226 226 setBackground(*bg);
227 227 }
228 228
229 229
230 230
231 -#if (0) // checking hypothesis: this is not used anywhere
232 231 bool PlotCanvas::isAxisShown(PlotAxis axis) const {
233 232 return shownAxes() & axis;
234 233 }
235 -#endif
236 234
237 235
238 236 /* DSW: SITE OF X-Y SHORTCIRCUIT */
239 237 void PlotCanvas::showAxis(PlotAxis axis, bool show) {
240 238 PlotAxisBitset axes = shownAxes();
241 239 if (show) axes |= (PlotAxisBitset)axis;
242 240 else axes &= ~(PlotAxisBitset)axis;
243 241 showAxes(axes); /* calls QPCanvas::showAxes() */
244 242 }
245 243

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut