Skip to content

Hide attrs deprecation warning in visualizations #3233

@nvaytet

Description

@nvaytet

Since #3227 we get the following warning in the various data visualizations:

VisibleDeprecationWarning: sc.DataArray.attrs has been deprecated and will be removed in Scipp v24.12.0. The deprecation includes sc.DataArray.meta and sc.DataArray.drop_attrs. For unaligned coords, use sc.DataArray.coords and unset the alignment flag. For other attributes, use a higher-level data structure.

We should hide this in:

  • html_repr
  • sc.table
  • sc.show
  • identical?
  • assert_identical?

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions