内容目录

重要的是行动起来

1、本期单词

2、英文阅读


1本期单词

declarative   

 [dɪˈklærətɪv]    [dɪˈklɛrətɪv,-ˈklær-] 

adj.  宣言的,公布的;

 

scenegraph 

场景图

 

widget  

 [ˈwɪdʒɪt]    [ˈwɪdʒɪt] 

n.  小器具,装饰品,窗口小部件;

 

serialize  

 [ˈsɪəriəlaɪz]    [ˈsɪriəlaɪz] 

vt.  连载,连播(故事);


2英文阅读

看完上述单词后,大家不妨阅读下面的内容:

bokeh.models

Bokehis actually composed of two library components.

 

The first component is a JavaScript library, BokehJS, that runs in the browser.This library is responsible for all of the rendering and user interaction. Its input is a collection of declarative JSON objects that comprise a “scenegraph”.The objects in this scenegraph describe everything that BokehJS should handle:what plots and widgets are presentand in what arrangement, what tools and renderers and axes the plots will have,etc. These JSON objects are converted into BokehJS Models in the browser, and are rendered by corresponding BokehJS Views.

 

The second component is a library in Python (or other languages) that can generate the JSON described above. In the Python Bokeh library, this is accomplished atthe lowest level by exposing a set of “model” classes that exactly mirror theset of BokehJS Models that are created in the browser. These python model classes know how to validate their content and attributes, and also how to serialize themselves to JSON. All of these low level models live in the low-level bokeh.models interface. Most of the models are very simple, usually consisting of a few property attributes andno methods. Model attributes can either be configured when the model is created, or later by setting attribute values on the model object. Here are some examples for a Rect glyph object


Python英语往期回顾

Issue08 | Issue07 | Issue06 | Issue05

Issue04 | Issue03 | Issue02 | Issue01



©著作权归作者所有:来自51CTO博客作者mb5fe18e7c44408的原创作品,如需转载,请注明出处,否则将追究法律责任

更多相关文章

  1. 动画:散列表 | 文本编辑器是如何检查英文单词出错的?
  2. PHP如何将中文转英文
  3. php统计2个数据中同时出现的次数最多的单词
  4. 面试官:如何在十亿个单词字典中,判断某个单词是否存在?(布隆过滤器)
  5. 英文都不懂.碰都没碰过编程软件!是心理的好奇心感觉未来的发展趋
  6. 如何检测“:”之前的单词并使用jquery进行“span”包装?
  7. jQuery返回一个没有逗号的字符串的前5个单词

随机推荐

  1. 又肝了下微服务 API 网关“金刚”,也是蛮
  2. 又一国产微服务网关 Soul,一起来肝一肝,Dub
  3. 硬核艿艿,新鲜出炉,直接带你弄懂 Spring Bo
  4. 44000 字 + 代码,艿艿肝的 Spring Securit
  5. Apollo 源码解析 —— Portal 发布配置
  6. 使用 Netty 实现 IM 聊天贼简单,看不懂就
  7. 帅气的 Spring Session 功能,基于 Redis
  8. kubernets 挂载 NAS 报 access denied
  9. Apollo 源码解析 —— Portal 认证与授权
  10. Linux学习:文件IO(不带缓冲区),原子操作概念