Sitelet https://github.com/nschloe/tikzplotlib/issues/577
Skip to content

clean_figure() error when scatter() has 1 point #577

Description

@user202729
	import matplotlib.pyplot as plt
	import tikzplotlib
	plt.scatter([-2], [3])
	tikzplotlib.clean_figure()

Error:

ValueError: all the input arrays must have same number of dimensions, but the array at index 0 has 1 dimension(s) and the array at index 1 has 2 dimension(s)

Probably related to #403.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions