---
title: Horizon Gradient
---
[:octicons-arrow-left-24: Back to Examples](/examples)

# Horizon Gradient {.example-header}

![horizon-gradient](/images/examples/horizon_gradient.png)

This plot shows what was in the sky when looking south from Stonehaugh, England on July 26, 2025 at 11pm BST. A color gradient has been applied for visual effect.

Learn more about using gradient backgrounds by reading the docs on the [style's background color](/reference-styling/#starplot.PlotStyle.background_color).

```python
--8<-- "examples/horizon_gradient.py"
```
