Skip to main content
Glama
test_scatter_chart.py408 B
import matplotlib matplotlib.use("Agg") from fastmcp.utilities.types import Image as FastImage from fmcp.mpl_mcp.core.scatter_chart import plot_scatter def test_scatter_basic_png(): x = [0.0, 1.0, 2.0] y = [0.0, 1.0, 4.0] img = plot_scatter(x, y, title="s", figsize=[4, 3]) assert isinstance(img, FastImage) assert img.data is not None assert img.data[:8] == b"\x89PNG\r\n\x1a\n"

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/abhiphile/fermat-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server