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 5326b2b commit 97fa7aaCopy full SHA for 97fa7aa
tikzplotlib/axes.py
@@ -769,8 +769,7 @@ def _handle_listed_color_map(cmap, data):
769
)
770
for (k, rgb) in enumerate(repeated_cols[: cmap.N])
771
]
772
-
773
- colormap_string = "{mymap}{[1{}]\n {}\n}".format(unit, ";\n ".join(colors))
+ colormap_string = "{{mymap}}{{[1{}]\n {}\n}}".format(unit, ";\n ".join(colors))
774
is_custom_colormap = True
775
return (colormap_string, is_custom_colormap)
776
0 commit comments