Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfb648f commit 326b471Copy full SHA for 326b471
1 file changed
lib/matplotlib/contour.py
@@ -575,6 +575,7 @@ def add_label_near(self, x, y, inline=True, inline_spacing=5,
575
# Get label width for rotating labels and breaking contours
576
lw = self.get_label_width(self.labelLevelList[lmin],
577
self.labelFmt, self.labelFontSizeList[lmin])
578
+ lw *= self.ax.figure.dpi / 72.0
579
580
# Figure out label rotation.
581
if inline:
0 commit comments