Fix bug on integration with Nyaplot