# Bug in how label is handled in Python-based source plugin?

**URL:** <https://discourse.paraview.org/t/bug-in-how-label-is-handled-in-python-based-source-plugin/8342>\
**Category:** ParaView Support\
**Tags:** python\
**Created:** [November 5, 2021, 7:40pm UTC](https://discourse.paraview.org/t/bug-in-how-label-is-handled-in-python-based-source-plugin/8342 "2021-11-05T19:40:00Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![rweigel](https://discourse.paraview.org/user_avatar/discourse.paraview.org/rweigel/32/7897_2.png) [@rweigel](https://discourse.paraview.org/u/rweigel)\
**Post date:** [November 8, 2021, 11:42pm UTC](https://discourse.paraview.org/t/bug-in-how-label-is-handled-in-python-based-source-plugin/8342/2 "2021-11-08T23:42:18Z")

</div>

The answer to this is in this post: [Python plugin smproxy keyword arguments aren't working as expected](https://discourse.paraview.org/t/python-plugin-smproxy-keyword-arguments-arent-working-as-expected/4869) In summary, it is best to use `name=label` for plugins written in Python.

I did find a workaround. If I want to provide a more descriptive label, use

```auto
@smproperty.xml('<PropertyGroup label="The center of the object"><Property function="Center" name="Center"/></PropertyGroup>')

```

This will result in bold text above the entry area for the center position that says “The center of the object”. Technically, this is not what `PropertyGroup` is meant for, but it helps clarify things when a `name` does not provide enough of a hint as to what the entry area is for.

---

_[View the full topic](https://discourse.paraview.org/t/bug-in-how-label-is-handled-in-python-based-source-plugin/8342)._
