I would like to plot 2 squares touching eachother, but the common side line appears thicker. How can I avoid that? (I want the linewidth to be 0.1, change it to another value won't solve my problem)
import matplotlib.pyplot as plt
x1 = [0, 1, 1, 0, 0]
x2 = [0, -1, -1, 0, 0]
y = [0, 0, 1, 1, 0]
plt.plot(x1, y, 'k', linewidth = 0.1)
plt.plot(x2, y, 'k', linewidth = 0.1)
Here's a pic:


