简体   繁体   English

用于matplotlib底图的静默输出ipython笔记本

[英]Silent output ipython notebook for matplotlib basemap

i'm trying to plot basemap with ipython notebook.This is my code and the output: 我正在尝试使用ipython notebook绘制底图。这是我的代码和输出:

图片

There's actually no error, but I just want a more silent output, output map only instead of map and bunch of <matplotlib.patches.Polygon object at 0x118317250> . 实际上没有错误,但是我只想要一个更安静的输出,仅输出map而不是map和一堆<matplotlib.patches.Polygon object at 0x118317250>

What should I do to avoid this? 我应该怎么做才能避免这种情况? Thanks 谢谢

Add a final semicolon ; 添加最后一个分号; to the last line in the cell. 到单元格的最后一行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM