---
title: "weight_px property"
url: "https://reference.aspose.com/cells/python-net/aspose.cells.charts/trendline/weight_px/"
product: "Aspose.Cells for Python via .NET API References"
---


## weight_px property


Gets or sets the weight of the line in unit of pixels.
### Definition:
```python
@property
def weight_px(self):
    ...
@weight_px.setter
def weight_px(self, value):
    ...
```

### See Also
* module [`aspose.cells.charts`](../../)
* class [`Trendline`](/cells/python-net/aspose.cells.charts/trendline)
