<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://en.xen.wiki/index.php?action=history&amp;feed=atom&amp;title=User%3ASintel%2FZeta_plot_python</id>
	<title>User:Sintel/Zeta plot python - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://en.xen.wiki/index.php?action=history&amp;feed=atom&amp;title=User%3ASintel%2FZeta_plot_python"/>
	<link rel="alternate" type="text/html" href="https://en.xen.wiki/index.php?title=User:Sintel/Zeta_plot_python&amp;action=history"/>
	<updated>2026-07-14T04:40:21Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://en.xen.wiki/index.php?title=User:Sintel/Zeta_plot_python&amp;diff=190302&amp;oldid=prev</id>
		<title>Sintel: small typo</title>
		<link rel="alternate" type="text/html" href="https://en.xen.wiki/index.php?title=User:Sintel/Zeta_plot_python&amp;diff=190302&amp;oldid=prev"/>
		<updated>2025-04-08T21:10:28Z</updated>

		<summary type="html">&lt;p&gt;small typo&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 21:10, 8 April 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l23&quot;&gt;Line 23:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 23:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;t_values = np.linspace(t_min, t_max, num_points)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;t_values = np.linspace(t_min, t_max, num_points)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Calculate zeta function magnitude using s = sigma + &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;2πt&lt;/del&gt;/ln(2)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Calculate zeta function magnitude using s = sigma + &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;2πit&lt;/ins&gt;/ln(2)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;zeta_magnitudes = np.zeros(num_points)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;zeta_magnitudes = np.zeros(num_points)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;for i, t in enumerate(t_values):&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;for i, t in enumerate(t_values):&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l34&quot;&gt;Line 34:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 34:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Add title and labels&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Add title and labels&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;plt.title(f&quot;Magnitude of Riemann Zeta Function for s = {sigma:.2f} + &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;2πt&lt;/del&gt;/ln(2)&quot;, fontsize=14)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;plt.title(f&quot;Magnitude of Riemann Zeta Function for s = {sigma:.2f} + &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;2πit&lt;/ins&gt;/ln(2)&quot;, fontsize=14)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;plt.xlabel(&amp;quot;t&amp;quot;, fontsize=12)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;plt.xlabel(&amp;quot;t&amp;quot;, fontsize=12)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;plt.ylabel(&amp;quot;|ζ(s)|&amp;quot;, fontsize=12)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;plt.ylabel(&amp;quot;|ζ(s)|&amp;quot;, fontsize=12)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l81&quot;&gt;Line 81:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 81:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;ax.spines[&amp;quot;top&amp;quot;].set_visible(False)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;ax.spines[&amp;quot;top&amp;quot;].set_visible(False)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;plt.subplots_adjust(bottom=0.15)  # Make room for the explanation text&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;plt.show()&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;plt.show()&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Sintel</name></author>
	</entry>
	<entry>
		<id>https://en.xen.wiki/index.php?title=User:Sintel/Zeta_plot_python&amp;diff=190298&amp;oldid=prev</id>
		<title>Sintel: Created page with &quot;Code for plotting some zetas   &lt;syntaxhighlight lang=&quot;python&quot;&gt; import math import numpy as np import matplotlib.pyplot as plt from mpmath import zeta, mp from scipy.signal import find_peaks  # Set precision for mpmath mp.dps = 15  # Define the range for t t_min, t_max = 4.8, 42  # Real part of the variable # Use 0.5 for critical line sigma = 0.5  # Create array of t values num_points = 2000 t_values = np.linspace(t_min, t_max, num_points)  # Calculate zeta function magni...&quot;</title>
		<link rel="alternate" type="text/html" href="https://en.xen.wiki/index.php?title=User:Sintel/Zeta_plot_python&amp;diff=190298&amp;oldid=prev"/>
		<updated>2025-04-08T20:41:24Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Code for plotting some zetas   &amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt; import math import numpy as np import matplotlib.pyplot as plt from mpmath import zeta, mp from scipy.signal import find_peaks  # Set precision for mpmath mp.dps = 15  # Define the range for t t_min, t_max = 4.8, 42  # Real part of the variable # Use 0.5 for critical line sigma = 0.5  # Create array of t values num_points = 2000 t_values = np.linspace(t_min, t_max, num_points)  # Calculate zeta function magni...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Code for plotting some zetas&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
import math&lt;br /&gt;
import numpy as np&lt;br /&gt;
import matplotlib.pyplot as plt&lt;br /&gt;
from mpmath import zeta, mp&lt;br /&gt;
from scipy.signal import find_peaks&lt;br /&gt;
&lt;br /&gt;
# Set precision for mpmath&lt;br /&gt;
mp.dps = 15&lt;br /&gt;
&lt;br /&gt;
# Define the range for t&lt;br /&gt;
t_min, t_max = 4.8, 42&lt;br /&gt;
&lt;br /&gt;
# Real part of the variable&lt;br /&gt;
# Use 0.5 for critical line&lt;br /&gt;
sigma = 0.5&lt;br /&gt;
&lt;br /&gt;
# Create array of t values&lt;br /&gt;
num_points = 2000&lt;br /&gt;
t_values = np.linspace(t_min, t_max, num_points)&lt;br /&gt;
&lt;br /&gt;
# Calculate zeta function magnitude using s = sigma + 2πt/ln(2)&lt;br /&gt;
zeta_magnitudes = np.zeros(num_points)&lt;br /&gt;
for i, t in enumerate(t_values):&lt;br /&gt;
    s = complex(sigma, 2 * math.pi * t / math.log(2))&lt;br /&gt;
    zeta_magnitudes[i] = float(abs(zeta(s)))&lt;br /&gt;
&lt;br /&gt;
# Create the plot&lt;br /&gt;
plt.figure(figsize=(24, 7))&lt;br /&gt;
plt.plot(t_values, zeta_magnitudes, color=&amp;quot;black&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
# Add title and labels&lt;br /&gt;
plt.title(f&amp;quot;Magnitude of Riemann Zeta Function for s = {sigma:.2f} + 2πt/ln(2)&amp;quot;, fontsize=14)&lt;br /&gt;
plt.xlabel(&amp;quot;t&amp;quot;, fontsize=12)&lt;br /&gt;
plt.ylabel(&amp;quot;|ζ(s)|&amp;quot;, fontsize=12)&lt;br /&gt;
&lt;br /&gt;
# Add grid lines&lt;br /&gt;
# plt.grid(alpha=0.3)&lt;br /&gt;
&lt;br /&gt;
# Find local maxima&lt;br /&gt;
peaks, _ = find_peaks(zeta_magnitudes, height=0.5, distance=10)&lt;br /&gt;
peak_t_values = t_values[peaks]&lt;br /&gt;
peak_magnitudes = zeta_magnitudes[peaks]&lt;br /&gt;
&lt;br /&gt;
# Find record maxima (peaks that are higher than any previous peak)&lt;br /&gt;
record_peaks = []&lt;br /&gt;
record_t_values = []&lt;br /&gt;
record_magnitudes = []&lt;br /&gt;
max_magnitude_so_far = 0&lt;br /&gt;
&lt;br /&gt;
for i, (t, mag) in enumerate(zip(peak_t_values, peak_magnitudes)):&lt;br /&gt;
    if mag &amp;gt; max_magnitude_so_far:&lt;br /&gt;
        max_magnitude_so_far = mag&lt;br /&gt;
        record_peaks.append(i)&lt;br /&gt;
        record_t_values.append(t)&lt;br /&gt;
        record_magnitudes.append(mag)&lt;br /&gt;
&lt;br /&gt;
# Mark all record peaks&lt;br /&gt;
plt.plot(record_t_values, record_magnitudes, &amp;quot;ro&amp;quot;, markersize=4)&lt;br /&gt;
&lt;br /&gt;
for t, mag in zip(record_t_values, record_magnitudes):&lt;br /&gt;
    # Add text label above&lt;br /&gt;
    name = f&amp;quot;{round(t)}edo&amp;quot;&lt;br /&gt;
    plt.text(&lt;br /&gt;
        t,&lt;br /&gt;
        mag + 0.25,&lt;br /&gt;
        name,&lt;br /&gt;
        ha=&amp;quot;center&amp;quot;,&lt;br /&gt;
        fontsize=10,&lt;br /&gt;
    )&lt;br /&gt;
&lt;br /&gt;
plt.axhline(y=0, color=&amp;quot;black&amp;quot;, alpha=0.2)&lt;br /&gt;
&lt;br /&gt;
plt.tight_layout()&lt;br /&gt;
&lt;br /&gt;
ax = plt.gca()&lt;br /&gt;
ax.spines[&amp;quot;right&amp;quot;].set_visible(False)&lt;br /&gt;
ax.spines[&amp;quot;top&amp;quot;].set_visible(False)&lt;br /&gt;
&lt;br /&gt;
plt.subplots_adjust(bottom=0.15)  # Make room for the explanation text&lt;br /&gt;
plt.show()&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sintel</name></author>
	</entry>
</feed>