当前正在使用系统发送电子邮件,该电子邮件中在MailChimp中创建了模板。从代码库开始,使用mandrill,点击madrill API以利用模板,并在需要发送电子邮件的地方发送电子邮件。
MailChimp自动创建一个退订链接。是否可以替换呢?我已经尝试在模板中使用asterisk | UNSUB | asterisk,并且可以插入我的取消订阅链接,但是自动生成的取消订阅仍然存在。
我想摆脱MailChimp自动生成的取消订阅。这可能吗?
当前正在使用系统发送电子邮件,该电子邮件中在MailChimp中创建了模板。从代码库开始,使用mandrill,点击madrill API以利用模板,并在需要发送电子邮件的地方发送电子邮件。
MailChimp自动创建一个退订链接。是否可以替换呢?我已经尝试在模板中使用asterisk | UNSUB | asterisk,并且可以插入我的取消订阅链接,但是自动生成的取消订阅仍然存在。
我想摆脱MailChimp自动生成的取消订阅。这可能吗?
尝试一下
from pyvis import network as pvnet
def plot_g_pyviz(G,name='out.html',height='300px',width='500px'):
g = G.copy() # some attributes added to nodes
net = pvnet.Network(notebook=True,directed=True,height=height,width=width)
opts = '''
var options = {
"physics": {
"forceAtlas2Based": {
"gravitationalConstant": -100,"centralGravity": 0.11,"springLength": 100,"springConstant": 0.09,"avoidOverlap": 1
},"minVelocity": 0.75,"solver": "forceAtlas2Based","timestep": 0.22
}
}
'''
net.set_options(opts)
# uncomment this to play with layout
# net.show_buttons(filter_=['physics'])
net.from_nx(g)
return net.show(name)
G = nx.MultiDiGraph()
[G.add_node(n) for n in range(5)]
G.add_edge(0,1,label=1)
G.add_edge(0,label=11)
G.add_edge(0,2,label=2)
G.add_edge(0,3,label=3)
G.add_edge(3,4,label=34)
plot_g_pyviz(G)
在您的模板代码中。